changeset 1927:d0e321f47add

package gsl: wine confuses the cross-compiling detection
author Tony Theodore <tonyt@logyst.com>
date Sun, 10 Jul 2011 23:33:32 +1000
parents c57294700cfd
children cfe3eba58dfd
files src/gsl.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gsl.mk	Sun Jul 10 14:19:01 2011 +1000
+++ b/src/gsl.mk	Sun Jul 10 23:33:32 2011 +1000
@@ -20,6 +20,8 @@
 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)' \