Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-381

Pkgconfig can't find dependencies properly if log4cxx built statically

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0, 0.11.0
    • 0.11.0
    • Build
    • This shows up when building static libs with a mingw cross compiler, though would also be a problem for any static build.

    Description

      Currently pkgconfig only displays log4cxx as the library to link against, which is fine for shared libraries, but isn't enough information when static linking. This patch tells it to go further and lookup the dependencies for apr-util and apr to help fully resolve what libraries are needed for linking.

      Attachments

        1. log4cxx-2-pkgconfig.patch
          0.4 kB
          Daniel Stonier

        Activity

          People

            carnold@apache.org Curt Arnold
            snorri Daniel Stonier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: