diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-05-17 15:37:54 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-05-17 15:37:54 (GMT) |
commit | 33cbaad5a3ff580ea825e47c61cb024122b203c5 (patch) | |
tree | 2eefc50fd08c27794b97310f160ff06e593c3e0f /src | |
parent | 1da1b906b46f02262c51271c132b2ee4296a0cf2 (diff) | |
download | mxe-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.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 \ |