mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 22:47:50 +08:00
16 lines
583 B
Diff
16 lines
583 B
Diff
|
diff --git a/configure.ac b/configure.ac
|
||
|
index ab3da6092..2533df1d8 100644
|
||
|
--- a/configure.ac
|
||
|
+++ b/configure.ac
|
||
|
@@ -151,7 +151,9 @@ AC_CHECK_FUNCS([dup dup2],,
|
||
|
|
||
|
AC_CHECK_LIB([gmp], [__gmpz_init],
|
||
|
[LIBS="-lgmp $LIBS"],
|
||
|
- [AC_MSG_ERROR([libgmp not found or uses a different ABI (including static vs shared).])])
|
||
|
+ [AC_CHECK_LIB([gmpd], [__gmpz_init],
|
||
|
+ [LIBS="-lgmpd $LIBS"],
|
||
|
+ [AC_MSG_ERROR([libgmp not found or uses a different ABI (including static vs shared).])])])
|
||
|
|
||
|
AC_MSG_CHECKING(for MPFR)
|
||
|
LIBS="-lmpfr $LIBS"
|