changeset 44:380957ca9d06

another fix for systems where wine confuses the cross-compiling detection of ./configure
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 02 Jul 2007 11:21:00 +0200
parents 59538eb93f16
children 7fac3c82e720
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	Mon Jul 02 01:47:47 2007 +0200
+++ b/build_mingw_cross_env.sh	Mon Jul 02 11:21:00 2007 +0200
@@ -696,6 +696,8 @@
     $SED '26i\#include <ws2tcpip.h>' -i src/gcrypt.h.in
     $SED '26i\#include <ws2tcpip.h>' -i src/ath.h
     $SED 's,sys/times.h,sys/time.h,' -i cipher/random.c
+    # 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 \