ncurses: use linker scripts for libncurses(w)
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Wed, 8 Sep 2010 21:54:28 +0000 (23:54 +0200)
committerEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Thu, 9 Sep 2010 09:43:54 +0000 (11:43 +0200)
commit10a92f252407e4487afbf44a330ba5b7b61b84b1
treecabf23496d21c842f7ea3c5a39461e87f01efc75
parent52d4cb12901247f501d1392b2095c81348c6858c
ncurses: use linker scripts for libncurses(w)

Some software (e.g. util-linux-ng) assumes that symbols from -ltinfo
will be added when it is linked against -lncurses.  This breaks when
linkerflags are containing --no-copy-dt-needed-entries which is the case
e.g. in Fedora 13+.

This patch replaces the libncurses.so symlink with a linkerscript which
adds -ltinfo.  To do things in a consistant manner, the patch rewrites
most parts of 9e58422868a03eeafa72781477174850d1c5abe7.

NOTE: it might require a 'bitbake ncurses -c clean' to see an effect
because staging on updates does not change a symlink (libncurses.so) to a
regular file.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
recipes/ncurses/ncurses-5.7/libtermcap.so [deleted file]
recipes/ncurses/ncurses_5.7.bb