FS#14700 - drop the libelf dependency on GNU screen
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Tuesday, 12 May 2009, 17:58 GMT
Last edited by Allan McRae (Allan) - Thursday, 28 May 2009, 15:29 GMT
Opened by Greg (dolby) - Tuesday, 12 May 2009, 17:58 GMT
Last edited by Allan McRae (Allan) - Thursday, 28 May 2009, 15:29 GMT
|
Details
Arch is the only distribution linking GNU screen to
libelf.
See some examples: http://packages.debian.org/squeeze/screen http://crux.nu/ports/crux-2.5/opt/screen/Pkgfile In fact Gentoo has a patch to not link to it even if found on the system: # Don't link against libelf even if it is found on the system epatch "${FILESDIR}"/4.0.2-no-libelf.patch http://gentoo-portage.com/AJAX/Ebuild/76461/View |
This task depends upon
This link behaviour, maybe will be changed in the next pacman version if --as-needed is implemented in LDFLAGS as default[#1]. Then no patch is needed.
[#1] http://www.archlinux.org/pipermail/arch-general/2009-April/004377.html
The result of binary is ( readelf -d screen-4.0.3 | awk '/NEEDED/{print $5}' )
[libncursesw.so.5]
[libcrypt.so.1]
[libpam.so.0]
[libc.so.6]
instead of
[libncursesw.so.5]
[libelf.so.0]
[libutil.so.1]
[libcrypt.so.1]
[libshadow.so.0]
[libpam.so.0]
[libc.so.6]