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>
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