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.
(cherry picked from commit c4433e47c1)
This commit is contained in:
Martin Whitaker 2011-10-28 19:50:55 +01:00 committed by Stephen Williams
parent f4dec1710d
commit af07b87419
1 changed files with 1 additions and 1 deletions

2
aclocal.m4 vendored
View File

@ -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