From c4433e47c14bc3798fd61f6cff08844d2a34181a Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 28 Oct 2011 19:50:55 +0100 Subject: [PATCH] Restore ability to supply LDFLAGS to MinGW configure. The fix to get a C99 compliant strtod() in MinGW mistakenly set the LDFLAGS value rather than appending to it. This meant that a LDFLAGS supplied by the user on the configure command line would be ignored. --- aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aclocal.m4 b/aclocal.m4 index cdfa8ca14..0b0d9c29c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -236,7 +236,7 @@ AC_DEFUN([AX_C99_STRTOD], [# On MinGW we need to jump through hoops to get a C99 compliant strtod(). case "${host}" in *-*-mingw*) - LDFLAGS="-Wl,--undefined=___strtod,--wrap,strtod,--defsym,___wrap_strtod=___strtod" + LDFLAGS+=" -Wl,--undefined=___strtod,--wrap,strtod,--defsym,___wrap_strtod=___strtod" ;; esac ])# AX_C99_STRTOD