summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorBart van der Meulen <bartvdrmeulen@gmail.com>2009-06-23 20:57:12 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-06-23 20:57:12 (GMT)
commit936286668b89d00b9ff87424c21f28f90e7b4e5f (patch)
treea478d6137353cdf95fafa65580ba6fa0f5858854 /scripts/build
parentecb02cb9dcbc6eb48e78cf6d2278fe6cbf65355e (diff)
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 <bartvdrmeulen@gmail.com>
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/companion_libs/mpfr.sh3
1 files changed, 2 insertions, 1 deletions
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