From fdf353af29be4f79198370978d12525c95c6ce87 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 7 Oct 2018 23:49:19 +0100 Subject: [PATCH] Don't use MinGW strtod workaround when building for MinGW-w64. The host triplet for MinGW-w64 has changed to more closely match that for MinGW, so we need to update the pattern in the test. --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index f44632fe2..7a113bf44 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -225,7 +225,7 @@ AC_DEFUN([AX_C99_STRTOD], [# On MinGW we need to jump through hoops to get a C99 compliant strtod(). # mingw-w64 doesn't need this, and the 64-bit version doesn't support it. case "${host}" in - *-*-mingw32) + *-pc-mingw32) LDFLAGS+=" -Wl,--undefined=___strtod,--wrap,strtod,--defsym,___wrap_strtod=___strtod" ;; esac