- we still want to kn ow correct link flags
authorMichael Wallner <mike@php.net>
Wed, 29 Aug 2007 19:35:14 +0000 (19:35 +0000)
committerMichael Wallner <mike@php.net>
Wed, 29 Aug 2007 19:35:14 +0000 (19:35 +0000)
config9.m4

index 01e88c0..5632d41 100644 (file)
@@ -272,7 +272,7 @@ dnl ----
                
                PHP_ADD_INCLUDE($CURL_DIR/include)
                PHP_ADD_LIBRARY_WITH_PATH(curl, $CURL_DIR/$PHP_LIBDIR, HTTP_SHARED_LIBADD)
-               PHP_EVAL_LIBLINE($CURL_LIBS, HTTP_SHARED_LIBADD)
+               PHP_EVAL_LIBLINE(`$CURL_CONFIG --libs`, HTTP_SHARED_LIBADD)
                AC_DEFINE([HTTP_HAVE_CURL], [1], [Have cURL support])
                
                PHP_CHECK_LIBRARY(curl, curl_share_strerror,