diff options
author | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-03 15:54:46 +0000 |
---|---|---|
committer | zimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-03 15:54:46 +0000 |
commit | cd2581b4c05b828889d2011c89100d0934dc3875 (patch) | |
tree | fbb672d0cf26a91f28a4daa2875eb378ae2330f9 /m4 | |
parent | ba2e11f468e9cd6819866d13aca5274afa2f3570 (diff) | |
download | mpc-cd2581b4c05b828889d2011c89100d0934dc3875.tar.gz |
tentative fix for win32 dll
cf http://sourceware.org/autobook/autobook/autobook_88.html and
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2011-November/000990.html
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1108 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'm4')
-rw-r--r-- | m4/mpc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |