Skip to contentSkip to conversation

qtopia4: fix wrong compilation of qmake

PATCH New Markus Heidelberg 2 participants 2 messages Oct 29, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtopia4: fix wrong compilation of qmake

---
 package/qtopia4/qtopia4.mk |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
package/qtopia4/qtopia4.mk +5 -1
index c0ced9b..9c08be9 100644
@@ -257,8 +257,12 @@ endif
 # Qt doesn't use PKG_CONFIG, it searches for pkg-config with 'which'.
 # PKG_CONFIG_SYSROOT is only used to avoid a warning from Qt's configure system
 # when cross compiling, Qt 4.4.3 is wrong here.
+# Don't use TARGET_CONFIGURE_OPTS here, qmake would be compiled for the target
+# instead of the host then.
 	(cd $(QTOPIA4_TARGET_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
+		PATH=$(TARGET_PATH) \
+		PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
+		PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
 		PKG_CONFIG_SYSROOT="$(STAGING_DIR)" \
 		./configure \
 		-verbose \
Signature · 1 line
1.5.6.4
#1 lore raw

PATCH 1/1 qtopia4: fix wrong compilation of qmake

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markus" == Markus Heidelberg <[email protected]> writes:

Markus> Signed-off-by: Markus Heidelberg <[email protected]>

Thanks, committed.

Signature · 1 line
Bye, Peter Korsgaard