[OE-core] [PATCH 1/1] meta-qt3: Resolve the compilation error when building an lsb image for qemuarm

Xiaofeng Yan xiaofeng.yan at windriver.com
Thu Jun 23 07:48:02 UTC 2011


From: Xiaofeng Yan <xiaofeng.yan at windriver.com>

The difference for the variable TARGET_OS and BUILD_OS caused compilation error.
I submit this patch to fix this problem.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
---
 recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb |    2 +-
 1 files changed, 1 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 e068b27..e64256f 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
@@ -57,7 +57,7 @@ do_install() {
  
     install -d ${D}${datadir}/qt3/
     cp -PfR mkspecs ${D}${datadir}/qt3/
-    ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${BUILD_OS}-oe-g++
+    ln -sf linux-g++ ${D}${datadir}/qt3/mkspecs/${TARGET_OS}-oe-g++
     ln -s ${D}${datadir}/qt3/mkspecs/ ${D}${datadir}/qmake
     install -d ${D}${libdir}/
     oe_soinstall lib/libqt-mt.so.${PV} ${D}${libdir}/
-- 
1.7.0.4





More information about the Openembedded-core mailing list