changeset 637:df78d93f210e

wine fix for package lcms (by Martin Lambers)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 12 Jan 2010 20:55:10 +0100
parents f68e81208388
children dccbbe0d15b2
files src/lcms.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lcms.mk	Tue Jan 12 20:51:01 2010 +0100
+++ b/src/lcms.mk	Tue Jan 12 20:55:10 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)' \