The attached patch completes the --as-needed support,
together with the patch in tracker #1398873, to allow
net-snmp to self-link correctly with newer binutils
2.16.92 and later.
With this, all the linking of net-snmp seems to be
correct and is not relying on final linking by users.
HTH,
Diego "Flameeyes" Pettenò
flameeyes@gentoo.org
net-snmp-5.2.2-asneeded.patch
Logged In: YES
user_id=88893
Thanks for the patch! It has been applied to the current
development code, and will appear in the 5.4 release
of the net-snmp package.