summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/curl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/curl.mk b/src/curl.mk
index 483da8e..fa1ad7e 100644
--- a/src/curl.mk
+++ b/src/curl.mk
@@ -20,6 +20,8 @@ endef
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 \