changeset 106:c28f1d5589c4

again a fix for systems where wine confuses the cross-compiling detection of ./configure
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 11 Jan 2008 00:45:49 +0100
parents 573f2df1961e
children ccefefa55c18
files build_mingw_cross_env.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Fri Jan 11 00:42:42 2008 +0100
+++ b/build_mingw_cross_env.sh	Fri Jan 11 00:45:49 2008 +0100
@@ -1340,6 +1340,8 @@
     # ensure there is no (buggy) attempt to install the *.dll.a file
     # (remove this line of you want to link dynamically)
     $SED 's,^install-data-local:.*,install-data-local:,' -i src/Makefile.in
+    # wine confuses the cross-compiling detection, so set it explicitly
+    $SED 's,cross_compiling=no,cross_compiling=yes,' -i configure
     ./configure \
         --host="$TARGET" \
         --disable-shared \