From 4163767c008075fdcbe70e2beb2537132a7cf04b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 2 Oct 2010 18:08:19 +0100 Subject: ncurses: Only set LD_LIBRARY_PATH within the do_install If this is done as a global export it can affect the whole task and the wrong python libraries can be found for example. [BUGID #335] Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/ncurses.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 259750cb46..8cfc5e4885 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -40,11 +40,11 @@ export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}" export BUILD_LDFLAGS = "" export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' -# 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() { + # 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}" + autotools_do_install ln -sf curses.h ${D}${includedir}/ncurses.h -- cgit 1.2.3-korg