aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 792afbb1e..5cfa90d84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"
])