summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/libcurl.make7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/libcurl.make b/rules/libcurl.make
index 52788e4ab..acfb0b15e 100644
--- a/rules/libcurl.make
+++ b/rules/libcurl.make
@@ -66,7 +66,6 @@ LIBCURL_AUTOCONF := \
--without-krb4 \
--without-spnego \
--without-gssapi \
- --without-libssh2 \
--without-gnutls \
--without-nss \
--without-ca-bundle \
@@ -109,6 +108,12 @@ else
LIBCURL_AUTOCONF += --disable-crypto-auth
endif
+ifdef PTXCONF_LIBCURL_LIBSSH2
+LIBCURL_AUTOCONF += --with-libssh2
+else
+LIBCURL_AUTOCONF += --without-libssh2
+endif
+
ifdef PTXCONF_LIBCURL_IPV6
LIBCURL_AUTOCONF += --enable-ipv6
else