# HG changeset patch # User Tony Theodore # Date 1310304812 -36000 # Node ID d0e321f47add7826b6afe0a70cce85e2b6e14dda # Parent c57294700cfdea8a7dbdbd1afe9955878e1f2ec5 package gsl: wine confuses the cross-compiling detection diff -r c57294700cfd -r d0e321f47add src/gsl.mk --- 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)' \