changeset 343:3cda8778b002

another fix for systems where wine confuses the cross-compiling detection of ./configure
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 17 May 2009 17:37:54 +0200
parents 8a4c40b9ce3c
children 92708f27f90b
files src/gtk.mk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtk.mk	Tue May 05 12:57:03 2009 +0200
+++ b/src/gtk.mk	Sun May 17 17:37:54 2009 +0200
@@ -30,6 +30,8 @@
     $(SED) 's,enable_shared=yes,enable_shared=no,' -i '$(1)/configure'
     $(SED) 's,\(STATIC_LIB_DEPS="[^"]*\) \$$LIBJPEG,\1 $$LIBJASPER $$LIBJPEG,' -i '$(1)/configure'
     $(SED) 's/-Wl,-luuid/-luuid/' -i '$(1)/configure'
+    # 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 \