Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 118016

Summary: net-analyzer/net-snmp: allow use of --as-needed
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-snmp-5.2.2-asneeded.patch

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.