From 733bfa270fa133ca6f3d4ccfdc61e3235fbe1902 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Fri, 11 Jan 2008 00:45:49 +0100 Subject: [PATCH] again a fix for systems where wine confuses the cross-compiling detection of ./configure --- build_mingw_cross_env.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_mingw_cross_env.sh b/build_mingw_cross_env.sh index 95914a84..7f662f58 100755 --- a/build_mingw_cross_env.sh +++ b/build_mingw_cross_env.sh @@ -1340,6 +1340,8 @@ case "$1" in # 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 \