diff options
-rw-r--r-- | ext/gmp/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4 index bbc524c540..f996ae978f 100644 --- a/ext/gmp/config.m4 +++ b/ext/gmp/config.m4 @@ -17,9 +17,9 @@ if test "$PHP_GMP" != "no"; then AC_MSG_ERROR(Unable to locate gmp.h) fi PHP_ADD_INCLUDE($GMP_DIR/include) - PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared) AC_DEFINE(HAVE_GMP, 1, [ ]) - PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib) + PHP_SUBST(GMP_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib, GMP_SHARED_LIBADD) fi |