Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209693 - dev-libs/xmlrpc-c does not respect user's LDFLAGS
Summary: dev-libs/xmlrpc-c does not respect user's LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Wulf Krueger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2008-02-11 19:40 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-09 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-11 19:40:54 UTC
The Makefiles seems to use LADD as LDFLAGS variable, but just setting it does not seem to be enough, a oneliner might be needed.
Comment 1 Wulf Krueger (RETIRED) gentoo-dev 2008-03-01 22:13:38 UTC
Notes to myself: Setting LADD works but leads to more --as-needed issues, e. g.:

x86_64-pc-linux-gnu-gcc -o auth_client -Wl,-O1 -Wl,--as-needed auth_client.o  -L/usr/lib64 -lcurl /var/tmp/portage/dev-libs/xmlrpc-c-1.06.09-r1/work/xmlrpc-c-1.06.09/src/.libs/libxmlrpc_client.a /var/tmp/portage/dev-libs/xmlrpc-c-1.06.09-r1/work/xmlrpc-c-1.06.09/src/.libs/libxmlrpc.a /var/tmp/portage/dev-libs/xmlrpc-c-1.06.09-r1/work/xmlrpc-c-1.06.09/lib/libutil/.libs/libxmlrpc_util.a -lxml2 -lz -lm
/var/tmp/portage/dev-libs/xmlrpc-c-1.06.09-r1/work/xmlrpc-c-1.06.09/src/.libs/libxmlrpc_client.a(xmlrpc_curl_transport.o): In function `curlMulti_perform':
/var/tmp/portage/dev-libs/xmlrpc-c-1.06.09-r1/work/xmlrpc-c-1.06.09/lib/curl_transport/xmlrpc_curl_transport.c:290: undefined reference to `curl_multi_perform'
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2008-03-02 00:48:12 UTC
Fixed in CVS.