Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118016 - net-analyzer/net-snmp: allow use of --as-needed
Summary: net-analyzer/net-snmp: allow use of --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 03:51 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-01-06 10:10 UTC (History)
0 users

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


Attachments
net-snmp-5.2.2-asneeded.patch (net-snmp-5.2.2-asneeded.patch,1.42 KB, patch)
2006-01-06 03:53 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-06 03:51:34 UTC
The attached patch fixes net-snmp to be able to use --as-needed ldflag with it (and with packages depending on it). It just add -lcrypto to the linking libraries for libnetsnmp.so as that uses functions from that library but relies on the final executable to link to it.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-06 03:53:25 UTC
Created attachment 76320 [details, diff]
net-snmp-5.2.2-asneeded.patch
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-01-06 10:10:31 UTC
In cvs.