diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-02 18:08:19 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-02 18:09:14 +0100 |
commit | 4163767c008075fdcbe70e2beb2537132a7cf04b (patch) | |
tree | 90a3472a27e25f238724bed66098858ebc8ab482 /meta/recipes-core | |
parent | dd81d5882bdc1cabfd5c91a3e71df047dd2cfa7a (diff) | |
download | poky-4163767c008075fdcbe70e2beb2537132a7cf04b.tar.gz |
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 <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 8 |
1 files changed, 4 insertions, 4 deletions
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}" | |||
40 | export BUILD_LDFLAGS = "" | 40 | export BUILD_LDFLAGS = "" |
41 | export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' | 41 | export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"' |
42 | 42 | ||
43 | # This is necessary so that the "tic" command executed during the install can | ||
44 | # link with the correct libary in staging. | ||
45 | export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" | ||
46 | |||
47 | do_install() { | 43 | do_install() { |
44 | # This is necessary so that the "tic" command executed during the install can | ||
45 | # link with the correct libary in staging. | ||
46 | export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" | ||
47 | |||
48 | autotools_do_install | 48 | autotools_do_install |
49 | 49 | ||
50 | ln -sf curses.h ${D}${includedir}/ncurses.h | 50 | ln -sf curses.h ${D}${includedir}/ncurses.h |