changeset 1041:db1081a60679

wine fix for package xvidcore (by Tony Theodore)
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 06 Jun 2010 00:17:24 +0200
parents 0cf0c907b475
children 0418a038486d
files src/xvidcore.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xvidcore.mk	Sat Jun 05 13:22:58 2010 +0200
+++ b/src/xvidcore.mk	Sun Jun 06 00:17:24 2010 +0200
@@ -19,6 +19,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)' \