generic-poky/meta/recipes-qt
Roy.Li f8c32f7402 qt-mobility: remove /usr/lib from ld rpath-link option
Remove /usr/lib from ld rpath-link option to fix the below build error:

       bitbake_build/tmp/sysroots/x86-kvm-guest/usr/lib/libpng16.so.16:
        undefined reference to `inflateReset2@ZLIB_1.2.3.4'

since sysroot seems not work for rpath-link, and "rpath-link,/usr/lib" makes
ld to search host libraries for target libraries, once host has different
version zlib, the error will happen.

qmake uses QT_MOBILITY_LIB to generate "rpath-link,/usr/lib" when do_configure
but we can not add sysroot into QT_MOBILITY_LIB, since QT_MOBILITY_LIB is dir
which libraries will be installed to, so I remove this dir from rpath-link
before do_compile

(From OE-Core rev: f7409a9fe83ba2535a43f39ed57cd78242a88557)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-25 17:44:57 +01:00
..
images packagegroup-qt4e: tidy up and rename 2012-09-04 12:52:58 +01:00
meta meta-toolchain-qt.inc: Use CXX when linking 2013-02-19 08:47:35 -08:00
packagegroups packagegroup-qte-toolchain-target: bump PR to allow removal of meta-oe bbappend 2013-04-16 16:51:41 +01:00
qt-apps qmmp: update to 0.6.6 and fix 2013-02-06 09:37:21 +00:00
qt-demo qt-demo-init/linux-firmware/adt-installer: Convert to Use allarch class file 2011-10-10 09:59:09 +01:00
qt4 qt-mobility: remove /usr/lib from ld rpath-link option 2013-06-25 17:44:57 +01:00
qt4-graphics-system qt4-graphics-system: set graphic system in profile instead of X11 session 2012-05-09 21:42:50 +01:00