summaryrefslogtreecommitdiff
path: root/packages/qmake/qmake2-native_2.00a.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-04-11 10:08:05 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-11 10:08:05 +0000
commit4b76cd4271a00cb361e9e6dc9985d8601b8052a5 (patch)
treeeef84e70c2c598e2976822adeb8c1bde5acba47e /packages/qmake/qmake2-native_2.00a.bb
parentacf5ba0f040f76ab1b380580efd491f3b9c76abc (diff)
qmake2: specify (cross-)install prefix to get library paths pointing to the proper staging area
Diffstat (limited to 'packages/qmake/qmake2-native_2.00a.bb')
-rw-r--r--packages/qmake/qmake2-native_2.00a.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/qmake/qmake2-native_2.00a.bb b/packages/qmake/qmake2-native_2.00a.bb
index 41bc5c7755..5e95ba38df 100644
--- a/packages/qmake/qmake2-native_2.00a.bb
+++ b/packages/qmake/qmake2-native_2.00a.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.trolltech.com"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
SECTION = "devel"
LICENSE = "GPL QPL"
-PR = "r0"
+PR = "r1"
QTVER = "qt-x11-opensource-src-4.1.1"
@@ -12,6 +12,8 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/${QTVER}.tar.gz \
file://linux-oe-qmake.conf"
S = "${WORKDIR}/${QTVER}"
+# we need the real target system here
+CROSS_SYS := "${TARGET_SYS}"
inherit autotools native
export QTDIR = "${S}"
@@ -29,8 +31,8 @@ do_configure() {
QMAKESPEC=
PLATFORM=${HOST_OS}-oe-g++
export PLATFORM
- oenote ./configure ${EXTRA_OECONF}
- echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed"
+ # yes, TARGET_SYS is correct, because this is a 'cross'-qmake-native :) :M:
+ echo yes | ./configure -prefix ${STAGING_DIR}/${CROSS_SYS}/qt4 ${EXTRA_OECONF} || die "Configuring qt failed"
}
do_compile() {