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

Submitted by Xiaofeng Yan on June 23, 2011, 7:48 a.m.


Message ID 1a6bcb62666b0fc67a66bd38a1c3f2a3399a249f.1308723458.git.xiaofeng.yan@windriver.com
State New, archived
Headers show

Commit Message

Xiaofeng Yan June 23, 2011, 7:48 a.m.
From: Xiaofeng Yan <xiaofeng.yan@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@windriver.com>
 recipes-qt3/qt3/qt-x11-free-native_3.3.5.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

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}/