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

Pkgconfig can't find dependencies properly if log4cxx built statically

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0, 0.11.0
    • Fix Version/s: 0.11.0
    • Component/s: Build
    • Labels:
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: