mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
Kent Boortz improved the configure check for GnuTLS to properly set LIBS
instead of LDFLAGS.
This commit is contained in:
parent
3b19c7d0d9
commit
b0bc2f00d2
3 changed files with 10 additions and 4 deletions
|
|
@ -1063,10 +1063,10 @@ if test "$OPENSSL_ENABLED" != "1"; then
|
|||
fi
|
||||
if test -n "$addlib"; then
|
||||
|
||||
CLEANLDFLAGS="$LDFLAGS"
|
||||
CLEANLIBS="$LIBS"
|
||||
CLEANCPPFLAGS="$CPPFLAGS"
|
||||
|
||||
LDFLAGS="$LDFLAGS $addlib"
|
||||
LIBS="$LIBS $addlib"
|
||||
if test "$addcflags" != "-I/usr/include"; then
|
||||
CPPFLAGS="$CPPFLAGS $addcflags"
|
||||
fi
|
||||
|
|
@ -1079,7 +1079,7 @@ if test "$OPENSSL_ENABLED" != "1"; then
|
|||
curl_ssl_msg="enabled (GnuTLS)"
|
||||
],
|
||||
[
|
||||
LDFLAGS="$CLEANLDFLAGS"
|
||||
LIBS="$CLEANLIBS"
|
||||
CPPFLAGS="$CLEANCPPFLAGS"
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue