From 811a9f7a33c3cc6b51b59ef1f15d13edeb058eef Mon Sep 17 00:00:00 2001 From: Jingdong Lu Date: Wed, 19 Jan 2011 16:19:05 +0800 Subject: qt4: Enable accessibility and sm option for LSB. LSB library checks will look for some symbols of qt4 libraries. Enable "accessibility" and "sm" in order to pass the LSB test. Signed-off-by: Jingdong Lu --- meta/recipes-qt/qt4/qt4.inc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'meta/recipes-qt/qt4/qt4.inc') diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc index 16d5bebd3..33824456f 100644 --- a/meta/recipes-qt/qt4/qt4.inc +++ b/meta/recipes-qt/qt4/qt4.inc @@ -5,11 +5,15 @@ DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gst inherit qmake_base -QT_CONFIG_FLAGS += "-release -no-cups -no-accessibility -reduce-relocations \ - -shared -no-nas-sound -no-sm -no-nis \ +QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm" +QT_DISTRO_FLAGS_poky-lsb = "-sm" + +QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ + -shared -no-nas-sound -no-nis \ -qt-gif -system-libjpeg -system-libpng -system-zlib \ -no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite \ - -no-pch -dbus -stl -glib -phonon -webkit" + -no-pch -dbus -stl -glib -phonon -webkit \ + ${QT_DISTRO_FLAGS} " EXTRA_OEMAKE = "-e" -- cgit v1.2.3