From 936286668b89d00b9ff87424c21f28f90e7b4e5f Mon Sep 17 00:00:00 2001 From: Bart van der Meulen Date: Tue, 23 Jun 2009 22:57:12 +0200 Subject: Fix MPFR build to recognise the Mingw32 case. Once we have canadian in place, Mingw32 can be a legitimate host, so we have to recognise that along with Cygwin. Also fix recognising Cygwin hosts. Signed-off-by: Bart van der Meulen diff --git a/scripts/build/companion_libs/mpfr.sh b/scripts/build/companion_libs/mpfr.sh index 85d0942..efca118 100644 --- a/scripts/build/companion_libs/mpfr.sh +++ b/scripts/build/companion_libs/mpfr.sh @@ -64,7 +64,8 @@ do_mpfr() { mpfr_opt= # Under Cygwin, we can't build a thread-safe library case "${CT_HOST}" in - *-cygwin) mpfr_opt="--disable-thread-safe";; + *cygwin*) mpfr_opt="--disable-thread-safe";; + *mingw*) mpfr_opt="--disable-thread-safe";; *) mpfr_opt="--enable-thread-safe";; esac -- cgit v0.10.2-6-g49f6