com php-src: Fixed bug #75093 OpenSSL support not detected: ext/curl/config.m4
| From: | Remi Collet | Date: | Fri, 18 Aug 2017 12:51:44 +0000 |
| Subject: | com php-src: Fixed bug #75093 OpenSSL support not detected: ext/curl/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99087@lists.php.net to get a copy of this message | ||
Commit: a7594cb74f0df0737b460153775e93010e923934
Author: Remi Collet <remi@php.net> Fri, 18 Aug 2017 14:51:44 +0200
Parents: 065551bc9c94eb5842f0ccaf654d8e187f6485fd
Branches: PHP-7.0 PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a7594cb74f0df0737b460153775e93010e923934
Log:
Fixed bug #75093 OpenSSL support not detected
Bugs:
https://bugs.php.net/75093
Changed paths:
M ext/curl/config.m4
Diff:
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 63682e0..d99c433 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -73,6 +73,8 @@ if test "$PHP_CURL" != "no"; then
save_CFLAGS="$CFLAGS"
CFLAGS="
$CURL_CONFIG --cflags"
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$CURL_CONFIG --libs"
AC_PROG_CPP
AC_MSG_CHECKING([for openssl support in libcurl])
@@ -130,6 +132,7 @@ int main(int argc, char *argv[])
])
CFLAGS="$save_CFLAGS"
+ LDFLAGS="$save_LDFLAGS"
else
AC_MSG_RESULT([no])
fi