summaryrefslogtreecommitdiffstats
path: root/src/glib.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-04-22 07:59:54 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-04-22 07:59:54 (GMT)
commitf633f90c70bb19acaa4b67efbe21495f173e58ad (patch)
treefe6ab2aebd688f3620c8208e4c3152b5d48d9f8a /src/glib.mk
parent0c8d217331e17de0aa953eb7b4d7d596d3d04a0e (diff)
downloadmxe-f633f90c70bb19acaa4b67efbe21495f173e58ad.zip
mxe-f633f90c70bb19acaa4b67efbe21495f173e58ad.tar.gz
mxe-f633f90c70bb19acaa4b67efbe21495f173e58ad.tar.bz2
fix for systems where wine confuses the cross-compiling detection of ./configure
Diffstat (limited to 'src/glib.mk')
-rw-r--r--src/glib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glib.mk b/src/glib.mk
index bc7bf1c..b8975ce 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -47,6 +47,8 @@ define $(PKG)_BUILD
# cross build
$(SED) 's,^\(Libs:.*\),\1 @PCRE_LIBS@ @G_THREAD_LIBS@ @G_LIBS_EXTRA@ -lshlwapi,' -i '$(1)/glib-2.0.pc.in'
+ # wine confuses the cross-compiling detection, so set it explicitly
+ $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--disable-shared \