Skip to content

Commit cc0c6b2

Browse files
committed
Merge branch 'PHP-7.2'
* PHP-7.2: NEWS NEWS NEWS Fixed bug #75093 OpenSSL support not detected
2 parents ff90aee + debbaba commit cc0c6b2

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])
@@ -132,6 +134,7 @@ int main(int argc, char *argv[])
132134
])
133135

134136
CFLAGS="$save_CFLAGS"
137+
LDFLAGS="$save_LDFLAGS"
135138
else
136139
AC_MSG_RESULT([no])
137140
fi

0 commit comments

Comments
 (0)