summaryrefslogtreecommitdiff
path: root/ext/gmp/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gmp/config.m4')
-rw-r--r--ext/gmp/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gmp/config.m4 b/ext/gmp/config.m4
index aeb7edbd55..9606b2f56d 100644
--- a/ext/gmp/config.m4
+++ b/ext/gmp/config.m4
@@ -21,13 +21,13 @@ if test "$PHP_GMP" != "no"; then
[],[
AC_MSG_ERROR([GNU MP Library version 4.1.2 or greater required.])
],[
- -L$GMP_DIR/lib
+ -L$GMP_DIR/$PHP_LIBDIR
])
],[
- -L$GMP_DIR/lib
+ -L$GMP_DIR/$PHP_LIBDIR
])
- PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib, GMP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/$PHP_LIBDIR, GMP_SHARED_LIBADD)
PHP_ADD_INCLUDE($GMP_DIR/include)
PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared)