[ 
https://issues.apache.org/jira/browse/LOGCXX-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rhys Ulerich reopened LOGCXX-381:
---------------------------------


I disagree with the patch as 'apr-1' and 'apr-1-util' should not be present in 
Requires, only Requires.private.  See discussion in the commit message for 
r1562826 which addressed LOGCXX-424.  Sorry, I missed finding this duplicate 
when I filed and fixed 424.

I plan to remove the 'Requires' line leaving only 'Requires.private'.  Static 
linking with pkg-config should then be done using the -static flag which will 
pull in everything.

> Pkgconfig can't find dependencies properly if log4cxx built statically
> ----------------------------------------------------------------------
>
>                 Key: LOGCXX-381
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-381
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.10.0, 0.10.1
>         Environment: This shows up when building static libs with a mingw 
> cross compiler, though would also be a problem for any static build.
>            Reporter: Daniel Stonier
>            Assignee: Curt Arnold
>            Priority: Minor
>              Labels: patch
>             Fix For: 0.10.1
>
>         Attachments: log4cxx-2-pkgconfig.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to