summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-05-17 15:37:54 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-05-17 15:37:54 (GMT)
commit33cbaad5a3ff580ea825e47c61cb024122b203c5 (patch)
tree2eefc50fd08c27794b97310f160ff06e593c3e0f /src
parent1da1b906b46f02262c51271c132b2ee4296a0cf2 (diff)
downloadmxe-33cbaad5a3ff580ea825e47c61cb024122b203c5.zip
mxe-33cbaad5a3ff580ea825e47c61cb024122b203c5.tar.gz
mxe-33cbaad5a3ff580ea825e47c61cb024122b203c5.tar.bz2
another fix for systems where wine confuses the cross-compiling detection of ./configure
Diffstat (limited to 'src')
-rw-r--r--src/gtk.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtk.mk b/src/gtk.mk
index e33e60c..58f098b 100644
--- a/src/gtk.mk
+++ b/src/gtk.mk
@@ -30,6 +30,8 @@ define $(PKG)_BUILD
$(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
$(SED) 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJPEG,\1 $$LIBJASPER $$LIBJPEG,' -i '$(1)/configure'
$(SED) 's/-Wl,-luuid/-luuid/' -i '$(1)/configure'
+ # 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 \