changeset 2138:9da85e3e2940

package curl: restore cross_compiling hack
author Mark Brand <mabrand@mabrand.nl>
date Sat, 26 Nov 2011 13:56:39 +0100
parents 085e5f7c58e2
children c342d13aae9b
files src/curl.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/curl.mk	Sat Nov 26 11:08:28 2011 +0100
+++ b/src/curl.mk	Sat Nov 26 13:56:39 2011 +0100
@@ -20,6 +20,8 @@
 
 define $(PKG)_BUILD
     cd '$(1)' && ./buildconf
+    # 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)' \
         --disable-shared \