summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2011-07-10 13:33:32 (GMT)
committerTony Theodore <tonyt@logyst.com>2011-07-10 13:33:32 (GMT)
commit53d64ce712541a32b59c7fbf473a31459b370c99 (patch)
treeb4119e96541347cec61aef9f943e13f02a118927
parent91329c84361babe225ed3a716beeb7ff38b20556 (diff)
downloadmxe-53d64ce712541a32b59c7fbf473a31459b370c99.zip
mxe-53d64ce712541a32b59c7fbf473a31459b370c99.tar.gz
mxe-53d64ce712541a32b59c7fbf473a31459b370c99.tar.bz2
package gsl: wine confuses the cross-compiling detection
-rw-r--r--src/gsl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gsl.mk b/src/gsl.mk
index bba6a26..ad43926 100644
--- a/src/gsl.mk
+++ b/src/gsl.mk
@@ -20,6 +20,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ # wine confuses the cross-compiling detection, so set it explicitly
+ $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \