summaryrefslogtreecommitdiffstats
path: root/src/pango.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-05-05 10:57:03 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-05-05 10:57:03 (GMT)
commit1da1b906b46f02262c51271c132b2ee4296a0cf2 (patch)
tree5874fcc4ff73facf3dc40147ebefc65890a9f45e /src/pango.mk
parent42870877a73430bc6586332e53cee67bee942e59 (diff)
downloadmxe-1da1b906b46f02262c51271c132b2ee4296a0cf2.zip
mxe-1da1b906b46f02262c51271c132b2ee4296a0cf2.tar.gz
mxe-1da1b906b46f02262c51271c132b2ee4296a0cf2.tar.bz2
fix for systems where wine confuses the cross-compiling detection of ./configure
Diffstat (limited to 'src/pango.mk')
-rw-r--r--src/pango.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pango.mk b/src/pango.mk
index 8e69961..84f78d6 100644
--- a/src/pango.mk
+++ b/src/pango.mk
@@ -22,6 +22,8 @@ define $(PKG)_BUILD
$(SED) 's,enable_static=no,enable_static=yes,' -i '$(1)/configure'
$(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
$(SED) 's,^install-data-local:.*,install-data-local:,' -i '$(1)/modules/Makefile.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 \