summaryrefslogtreecommitdiff
path: root/ext/curl/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r--ext/curl/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 1e683072c5..44b869a6b3 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -51,7 +51,7 @@ if test "$PHP_CURL" != "no"; then
PHP_ADD_INCLUDE($CURL_DIR/include)
PHP_EVAL_LIBLINE($CURL_LIBS, CURL_SHARED_LIBADD)
- PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/lib, CURL_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/$PHP_LIBDIR, CURL_SHARED_LIBADD)
PHP_CHECK_LIBRARY(curl,curl_easy_perform,
[
@@ -59,14 +59,14 @@ if test "$PHP_CURL" != "no"; then
],[
AC_MSG_ERROR(There is something wrong. Please check config.log for more information.)
],[
- $CURL_LIBS -L$CURL_DIR/lib
+ $CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR
])
PHP_CHECK_LIBRARY(curl,curl_version_info,
[
AC_DEFINE(HAVE_CURL_VERSION_INFO,1,[ ])
],[],[
- $CURL_LIBS -L$CURL_DIR/lib
+ $CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR
])
if test "$PHP_CURLWRAPPERS" != "no" ; then