summaryrefslogtreecommitdiff
path: root/m4/mpc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mpc.m4')
-rw-r--r--m4/mpc.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index 108b47e..4227c92 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -198,12 +198,12 @@ AC_DEFUN([MPC_GMP_CC_CFLAGS], [
# DESCRIPTION
#
# Additional checks on windows
-# libtool requires "--no-undefined" for win32 dll
+# libtool requires "-no-undefined" for win32 dll
# It also disables the tests involving the linking with LIBGMP if DLL
#
AC_DEFUN([MPC_WINDOWS], [
if test "$enable_shared" = yes; then
- LDFLAGS="$LDFLAGS -Wl,--no-undefined"
+ MPC_LDFLAGS="$MPC_LDFLAGS -no-undefined"
AC_MSG_CHECKING(for DLL/static gmp)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include "gmp.h"