From a7594cb74f0df0737b460153775e93010e923934 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Aug 2017 14:51:44 +0200 Subject: Fixed bug #75093 OpenSSL support not detected --- ext/curl/config.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/curl') diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 63682e0f06..d99c4335ae 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 -- cgit v1.2.1