- 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 01e88c0c220572a26851b9f3c9de5e9a91e8f605..5632d41d8586bc711e3ac08900e652ac265321c6 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,