changeset 342:8a4c40b9ce3c

fix for systems where wine confuses the cross-compiling detection of ./configure
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 05 May 2009 12:57:03 +0200
parents 5061f65fe3b2
children 3cda8778b002
files src/pango.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pango.mk	Tue May 05 11:05:51 2009 +0200
+++ b/src/pango.mk	Tue May 05 12:57:03 2009 +0200
@@ -22,6 +22,8 @@
     $(SED) 's,enable_static=no,enable_static=yes,' -i '$(1)/configure'
     $(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
     $(SED) 's,^install-data-local:.*,install-data-local:,' -i '$(1)/modules/Makefile.in'
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
         --disable-shared \