FS#50333 - [libasyncns] Remove overlinking to libnsl
Attached to Project:
Arch Linux
Opened by userwithuid (userwithuid) - Wednesday, 10 August 2016, 02:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 10 August 2016, 23:11 GMT
Opened by userwithuid (userwithuid) - Wednesday, 10 August 2016, 02:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 10 August 2016, 23:11 GMT
|
Details
The current build (libasyncns 0.8-5) links the library to
glibc's libnsl.so.1 without using any of its functions.
It's also a libtool shared library build, so the default arch linker flag that would fix this (-Wl,--as-needed) is ignored. Solution: Add ----- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool ----- or similar to the PKGBUILD as is done in many other packages. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Wednesday, 10 August 2016, 23:11 GMT
Reason for closing: Fixed
Wednesday, 10 August 2016, 23:11 GMT
Reason for closing: Fixed