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:
parent
f4dec1710d
commit
af07b87419
|
|
@ -236,7 +236,7 @@ AC_DEFUN([AX_C99_STRTOD],
|
||||||
[# On MinGW we need to jump through hoops to get a C99 compliant strtod().
|
[# On MinGW we need to jump through hoops to get a C99 compliant strtod().
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*-*-mingw*)
|
*-*-mingw*)
|
||||||
LDFLAGS="-Wl,--undefined=___strtod,--wrap,strtod,--defsym,___wrap_strtod=___strtod"
|
LDFLAGS+=" -Wl,--undefined=___strtod,--wrap,strtod,--defsym,___wrap_strtod=___strtod"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
])# AX_C99_STRTOD
|
])# AX_C99_STRTOD
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue