diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-12 11:53:14 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-12 11:54:13 +0200 |
commit | 2f1d822d78ca8f34e67a06139ce36e6ff88fc158 (patch) | |
tree | 7f4a9aad9b3cb491e36b32d308888dccf3df89a8 | |
parent | 365a905e00119cb499d8b10c0227f8c0d46213ab (diff) | |
download | php-git-2f1d822d78ca8f34e67a06139ce36e6ff88fc158.tar.gz |
Preserve CFLAGS/LDFLAGS for curl ssl check
We need to add the curl-specific flags, but we also need to preserve
the general flags, to keep around important stuff like -m32.
-rw-r--r-- | ext/curl/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index cd02577907..9c78eb637e 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -26,9 +26,9 @@ if test "$PHP_CURL" != "no"; then AC_DEFINE([HAVE_CURL_SSL], [1], [Have cURL with SSL support]) save_CFLAGS="$CFLAGS" - CFLAGS=$CURL_CFLAGS + CFLAGS="$CFLAGS $CURL_CFLAGS" save_LDFLAGS="$LDFLAGS" - LDFLAGS=$CURL_LIBS + LDFLAGS="$LDFLAGS $CURL_LIBS" AC_PROG_CPP AC_MSG_CHECKING([for openssl support in libcurl]) |