mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] [PATCH] Fix wine vs. cross compilation problem fo


From: Martin Lambers
Subject: [Mingw-cross-env-list] [PATCH] Fix wine vs. cross compilation problem for lcms
Date: Tue, 12 Jan 2010 16:18:59 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello all,

the attached patch fixes yet another instance of the 'wine confuses the
cross-compiling detection' problem.

I only noticed it now because only one of my Debian lenny amd64 boxes
has binfmt-support installed and thus can run .exe files without
explicitly calling wine.

Martin


diff -r a8ff25e7de16 src/lcms.mk
--- a/src/lcms.mk       Tue Jan 12 07:29:40 2010 +0100
+++ b/src/lcms.mk       Tue Jan 12 16:10:52 2010 +0100
@@ -39,6 +39,8 @@
 endef
 
 define $(PKG)_BUILD
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
     cd '$(1)' && ./configure \
         --prefix='$(PREFIX)/$(TARGET)' \
         --host='$(TARGET)' \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]