summaryrefslogtreecommitdiffstats
path: root/src/pcre.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/pcre.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/pcre.mk')
-rw-r--r--src/pcre.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcre.mk b/src/pcre.mk
index 47e865f..8af8316 100644
--- a/src/pcre.mk
+++ b/src/pcre.mk
@@ -18,6 +18,8 @@ endef
define $(PKG)_BUILD
$(SED) '1i\#define PCRE_STATIC' -i '$(1)/pcre.h.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 \