qt-mobility: fix build without X11
authorEric Bénard <eric@eukrea.com>
Thu, 19 Sep 2013 11:57:26 +0000 (13:57 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Sep 2013 11:19:33 +0000 (12:19 +0100)
commit858046be48b63c94671b07b29a4cfe225b44d940
tree721fd86e3f0184801ae5a084786cfd87a3c5ded2
parent2b9eaf8f8fbeac327eb0883cd0040fdbb9cee96a
qt-mobility: fix build without X11

else we get :
arm-oe-linux-gnueabi-g++  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon .../...
ibQtSystemInfoE.so.1 -o libQtSystemInfoE.so.1.2.0 .../... -lblkid -ludev -lX11 -lXrandr -lQtDBusE -lQtXmlE -lQtGuiE -lEGL -lQtNetworkE -lQtCoreE -lpthread
.../build/tmp-defaultsetup-eglibc-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.1/ld: cannot find -lXrandr
make[2]: *** [../../lib/libQtSystemInfoE.so.1.2.0] Error 1

(From OE-Core rev: 21857f0842501b0c72c77e5fb290aec85b1c28ff)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-qt/qt4/qt-mobility-1.2.0/0001-fix-embedded-usage-doesn-t-work-outside-of-Qt.patch [new file with mode: 0644]
meta/recipes-qt/qt4/qt-mobility_1.2.0.inc