changeset 1302:9edb1741ce92

wine fix for package imagemagick
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 05 Oct 2010 22:58:21 +0200
parents c07e54eabf73
children 9d27d3bd15a5
files src/imagemagick.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/imagemagick.mk	Tue Oct 05 18:43:07 2010 +0200
+++ b/src/imagemagick.mk	Tue Oct 05 22:58:21 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)' \