diff options
Diffstat (limited to 'vcpkg/ports/mpfr/dll.patch')
| -rw-r--r-- | vcpkg/ports/mpfr/dll.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/mpfr/dll.patch b/vcpkg/ports/mpfr/dll.patch new file mode 100644 index 0000000..3b6eff5 --- /dev/null +++ b/vcpkg/ports/mpfr/dll.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index fdee5978d..0791b2528 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -593,7 +593,7 @@ case $host in + AC_MSG_CHECKING(for DLL/static GMP)
+ if test "$enable_shared" = yes; then
+ MPFR_LDFLAGS="$MPFR_LDFLAGS -no-undefined"
+- LIBMPFR_LDFLAGS="$LIBMPFR_LDFLAGS -Wl,--output-def,.libs/libmpfr-6.dll.def"
++ LIBMPFR_LDFLAGS="$LIBMPFR_LDFLAGS -W1,--no-undefined"
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include "gmp.h"
+ #if !__GMP_LIBGMP_DLL
|