curl-rustls.m4: keep existing CPPFLAGS/LDFLAGS when detected
Different variable names were used in flag save and restore operations,
which could cause existing `CPPFLAGS` and `LDFLAGS` be accidentally lost
when detecting Rustls.
Follow-up to 647e86a3ef #13179
Closes #15546
This commit is contained in:
parent
8b76a8aeb2
commit
774844ab5d
@ -155,8 +155,8 @@ if test "x$OPT_RUSTLS" != xno; then
|
||||
fi
|
||||
|
||||
dnl finally, set flags to use this TLS backend
|
||||
CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS"
|
||||
LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS"
|
||||
CPPFLAGS="$CLEANCPPFLAGS $SSL_CPPFLAGS"
|
||||
LDFLAGS="$CLEANLDFLAGS $SSL_LDFLAGS"
|
||||
|
||||
if test "x$USE_RUSTLS" = "xyes"; then
|
||||
AC_MSG_NOTICE([detected Rustls])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user