summaryrefslogtreecommitdiffstats
path: root/src/xvidcore.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-06-05 22:17:24 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-06-05 22:17:24 (GMT)
commit50018544159f8cfb751b1e69ee58fc349a306538 (patch)
treeefc535a8c6268ed96545f1722880dcde4e0a43e8 /src/xvidcore.mk
parent4b6a9eb0e2e55ca4724aa9b89058584a8b777cc2 (diff)
downloadmxe-50018544159f8cfb751b1e69ee58fc349a306538.zip
mxe-50018544159f8cfb751b1e69ee58fc349a306538.tar.gz
mxe-50018544159f8cfb751b1e69ee58fc349a306538.tar.bz2
wine fix for package xvidcore (by Tony Theodore)
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)' \