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

Rhys Ulerich resolved LOGCXX-424.
---------------------------------

    Resolution: Fixed

Done using Requires in r1562823 then Requires.private in 1562826.

I believe Requires.private is the better version.  Doing this in two stages
might permit someone to bisect if the discrepancy somehow matters,
though I think it would be a user error to rely on Requires behavior
when specifying only 'liblog4cxx' and not 'liblog4cxx apr-1 apr-util-1'
at pkg-config invocation time.

> liblog4cxx.pc.in should reflect dependency on apr-1, apr-1-util
> ---------------------------------------------------------------
>
>                 Key: LOGCXX-424
>                 URL: https://issues.apache.org/jira/browse/LOGCXX-424
>             Project: Log4cxx
>          Issue Type: Bug
>          Components: Build
>            Reporter: Rhys Ulerich
>            Assignee: Rhys Ulerich
>            Priority: Minor
>
> As described at http://people.freedesktop.org/~dbn/pkg-config-guide.html,
> the pkg-config Requires.private mechanism would let our installed 
> liblog4cxx.pc files reflect that applications must additionally link APR and 
> APR-Util.
> Currently, applications must specify such these requirements manually: 
> "liblog4cxx apr-1 apr-util-1".  While not likely to change anytime soon, it'd 
> be nice to have
>     pkg-config --cflags liblog4cxx
>     pkg-config --libs liblog4cxx
> work out of the box.



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

Reply via email to