1 diff --git a/configure.ac b/configure.ac
2 index fdee5978d..0791b2528 100644
5 @@ -593,7 +593,7 @@ case $host in
6 AC_MSG_CHECKING(for DLL/static GMP)
7 if test "$enable_shared" = yes; then
8 MPFR_LDFLAGS="$MPFR_LDFLAGS -no-undefined"
9 - LIBMPFR_LDFLAGS="$LIBMPFR_LDFLAGS -Wl,--output-def,.libs/libmpfr-6.dll.def"
10 + LIBMPFR_LDFLAGS="$LIBMPFR_LDFLAGS -W1,--no-undefined"
11 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[