From patchwork Sat Dec 10 22:01:57 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/5] ncurses: libcurses.so should link to libncurses.so Date: Sat, 10 Dec 2011 22:01:57 -0000 From: Saul Wold X-Patchwork-Id: 16655 Message-Id: <4b9c3a2bde45415d904fdf9d312bf430d341e6cd.1323554268.git.sgw@linux.intel.com> To: openembedded-core@openembedded.org The current libcurses (backward compat) links to libncurses.so.5.9, this causes a problem since this library also needs libtinfo, the libncurses.so, uses a "ld script" to include both, libcurses.so should point to libncurses.so (the script) not the library. Signed-off-by: Saul Wold --- meta/recipes-core/ncurses/ncurses.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index df9252a..98f45a4 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc SECTION = "libs" DEPENDS = "ncurses-native" DEPENDS_virtclass-native = "" -INC_PR = "r2" +INC_PR = "r3" inherit autotools binconfig multilib_header @@ -161,6 +161,9 @@ do_install() { echo '/* GNU ld script */' >$f echo "INPUT($i.so.5 AS_NEEDED(-ltinfo))" >>$f done + # Make sure that libcurses is linked so that it gets -ltinfo + # also, this should be addressed upstream really. + ln -sf libncurses.so ${D}${libdir}/libcurses.so # create libtermcap.so linker script for backward compatibility f=${D}${libdir}/libtermcap.so