summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/curl/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index abf345f74d..729e45e04c 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -48,6 +48,8 @@ if test "$PHP_CURL" != "no"; then
AC_DEFINE(HAVE_CURL,1,[ ])
],[
AC_MSG_ERROR(There is something wrong. Please check config.log for more information.)
+ ],[
+ $CURL_LIBS -L$CURL_DIR/lib
])
PHP_EXTENSION(curl, $ext_shared)