* [Buildroot] [PATCH] qtopia4: fix wrong compilation of qmake
@ 2008-10-29 17:53 Markus Heidelberg
2008-10-29 20:40 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Markus Heidelberg @ 2008-10-29 17:53 UTC (permalink / raw)
To: buildroot
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
package/qtopia4/qtopia4.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk
index c0ced9b..9c08be9 100644
--- a/package/qtopia4/qtopia4.mk
+++ b/package/qtopia4/qtopia4.mk
@@ -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 \
--
1.5.6.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] qtopia4: fix wrong compilation of qmake
2008-10-29 17:53 [Buildroot] [PATCH] qtopia4: fix wrong compilation of qmake Markus Heidelberg
@ 2008-10-29 20:40 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2008-10-29 20:40 UTC (permalink / raw)
To: buildroot
>>>>> "Markus" == Markus Heidelberg <markus.heidelberg@web.de> writes:
Markus> Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Thanks, committed.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-29 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-29 17:53 [Buildroot] [PATCH] qtopia4: fix wrong compilation of qmake Markus Heidelberg
2008-10-29 20:40 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox