diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 14:09:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 14:10:49 +0000 |
commit | 4772424ab69908d4e3b9d6d4717ca889468e6acd (patch) | |
tree | 8448268883d0b8bc98379fc320a34e83088dc4f1 /recipes-qt3 | |
parent | b73552fb998fd30a01dbee5a172e432a16078222 (diff) | |
download | meta-qt3-4772424ab69908d4e3b9d6d4717ca889468e6acd.tar.gz |
qt-x11-free-native: Ensure LD_LIBRARY_PATH reaches the environmentyocto-1.5.4yocto-1.5.3yocto-1.5.2yocto-1.5.1.finalyocto-1.5.1poky-10.0.1.finalpoky-10.0.1dora-10.0.4dora-10.0.3dora-10.0.2dora-10.0.1.finaldora-10.0.11.6_M3.final1.6_M31.6_M2dora
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-qt3')
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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() { | |||
44 | } | 44 | } |
45 | 45 | ||
46 | do_compile() { | 46 | do_compile() { |
47 | LD_LIBRARY_PATH=${S}/lib oe_runmake \ | 47 | export LD_LIBRARY_PATH=${S}/lib |
48 | oe_runmake \ | ||
48 | QMAKE="${STAGING_BINDIR_NATIVE}/qmake -after INCLUDEPATH+=${STAGING_INCDIR} LIBS+=-L${STAGING_LIBDIR}" \ | 49 | QMAKE="${STAGING_BINDIR_NATIVE}/qmake -after INCLUDEPATH+=${STAGING_INCDIR} LIBS+=-L${STAGING_LIBDIR}" \ |
49 | QMAKESPEC="${THIS_QMAKESPEC}" | 50 | QMAKESPEC="${THIS_QMAKESPEC}" |
50 | } | 51 | } |