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

Matthew Farrellee updated QPID-1151:
------------------------------------

    Attachment: fix_linking.patch

> All qpid C++ libraries link against everything from AC_CHECK_LIB
> ----------------------------------------------------------------
>
>                 Key: QPID-1151
>                 URL: https://issues.apache.org/jira/browse/QPID-1151
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>            Reporter: Matthew Farrellee
>         Attachments: fix_linking.patch
>
>
> libqpidclient.so and libqpidcommon.so have dependencies on -lxqilla, 
> -lxerces-c, -lsasl2 and -lcpg when they should not.
> This is because AC_CHECK_LIB adds libraries it finds to LIBS, which is then 
> used on all link lines. A solution is to not add anything to LIBS and instead 
> conditionally add to the link lines of each individual library.
> Attached patch is off r671877

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to