summaryrefslogtreecommitdiffstats
path: root/src/xvidcore.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/xvidcore.mk')
-rw-r--r--src/xvidcore.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xvidcore.mk b/src/xvidcore.mk
index 47babf4..7249c6d 100644
--- a/src/xvidcore.mk
+++ b/src/xvidcore.mk
@@ -19,6 +19,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)' \