Skip to content

Commit acf09c4

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: NEWS Fixed bug #75093 OpenSSL support not detected
2 parents 4494ad6 + b28912b commit acf09c4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/curl/config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ if test "$PHP_CURL" != "no"; then
7373

7474
save_CFLAGS="$CFLAGS"
7575
CFLAGS="`$CURL_CONFIG --cflags`"
76+
save_LDFLAGS="$LDFLAGS"
77+
LDFLAGS="`$CURL_CONFIG --libs`"
7678

7779
AC_PROG_CPP
7880
AC_MSG_CHECKING([for openssl support in libcurl])
@@ -130,6 +132,7 @@ int main(int argc, char *argv[])
130132
])
131133

132134
CFLAGS="$save_CFLAGS"
135+
LDFLAGS="$save_LDFLAGS"
133136
else
134137
AC_MSG_RESULT([no])
135138
fi

0 commit comments

Comments
 (0)