ncurses: fix oebug 2554 - added STAGING_LIBDIR_NATIVE, and set
authorMike Westerhof <mwester@dls.net>
Fri, 10 Aug 2007 03:32:20 +0000 (03:32 +0000)
committerMike Westerhof <mwester@dls.net>
Fri, 10 Aug 2007 03:32:20 +0000 (03:32 +0000)
LD_LIBRARY_PATH in ncurses bb file.

conf/bitbake.conf
packages/ncurses/ncurses.inc
packages/ncurses/ncurses_5.4.bb

index dc3378f..d642998 100644 (file)
@@ -168,6 +168,7 @@ STAGING_BINDIR = "${STAGING_DIR}/${HOST_SYS}/bin"
 STAGING_BINDIR_CROSS = "${STAGING_DIR}/${BUILD_SYS}/bin/${HOST_SYS}"
 STAGING_BINDIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}/bin"
 STAGING_LIBDIR = "${STAGING_DIR}/${HOST_SYS}/lib"
+STAGING_LIBDIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}/lib"
 STAGING_INCDIR = "${STAGING_DIR}/${HOST_SYS}/include"
 STAGING_DATADIR = "${STAGING_DIR}/${HOST_SYS}/share"
 STAGING_LOADER_DIR = "${STAGING_DIR}/${HOST_SYS}/loader"
index 030cd10..027f037 100644 (file)
@@ -41,6 +41,10 @@ do_stage() {
        ln -sf libncurses.a ${STAGING_LIBDIR}/libtermcap.a
 }
 
+# This is necessary so that the "tic" command executed during the install can
+# link with the correct libary in staging.
+export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
+
 do_install() {
        autotools_do_install
 
index 63272b4..6da3223 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
           file://visibility.patch;patch=1"