From 4772424ab69908d4e3b9d6d4717ca889468e6acd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 Dec 2013 14:09:20 +0000 Subject: qt-x11-free-native: Ensure LD_LIBRARY_PATH reaches the environment Ensure the variable reaches the compilation enviroment in all cases to avoid errors like: | make[4]: Entering directory `/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/x86_64-linux/qt-x11-free-native/3.3.5-r4/qt-x11-free-3.3.5/tools/designer/designer' | /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/x86_64-linux/qt-x11-free-native/3.3.5-r4/qt-x11-free-3.3.5/bin/uic -L /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/x86_64-linux/qt-x11-free-native/3.3.5-r4/qt-x11-free-3.3.5/plugins listboxeditor.ui -o listboxeditor.h | /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc-lsb/build/build/tmp/work/x86_64-linux/qt-x11-free-native/3.3.5-r4/qt-x11-free-3.3.5/bin/uic: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory| make[4]: *** [listboxeditor.h] Error 127 Signed-off-by: Richard Purdie --- recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb index b18ea0d..e4388c4 100644 --- a/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb +++ b/recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb @@ -44,7 +44,8 @@ do_configure() { } do_compile() { - LD_LIBRARY_PATH=${S}/lib oe_runmake \ + export LD_LIBRARY_PATH=${S}/lib + oe_runmake \ QMAKE="${STAGING_BINDIR_NATIVE}/qmake -after INCLUDEPATH+=${STAGING_INCDIR} LIBS+=-L${STAGING_LIBDIR}" \ QMAKESPEC="${THIS_QMAKESPEC}" } -- cgit