From 4e12052db87022f46443f8c0dac08a8824a5f07c Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Thu, 18 Aug 2016 09:16:24 +0530 Subject: [PATCH] Build curl with minimal external libraries. Link to our own libssh2. --- deps/curl.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/deps/curl.mk b/deps/curl.mk index b8bf9ccbd8fec..060b41b7969a1 100644 --- a/deps/curl.mk +++ b/deps/curl.mk @@ -18,7 +18,14 @@ $(SRCDIR)/srccache/curl-$(CURL_VER)/configure: $(SRCDIR)/srccache/curl-$(CURL_VE $(BUILDDIR)/curl-$(CURL_VER)/config.status: $(SRCDIR)/srccache/curl-$(CURL_VER)/configure mkdir -p $(dir $@) cd $(dir $@) && \ - $< $(CONFIGURE_COMMON) --includedir=$(build_includedir) --without-ssl --with-mbedtls=$(build_prefix) CFLAGS="$(CFLAGS) $(CURL_CFLAGS)" LDFLAGS="$(LDFLAGS) $(CURL_LDFLAGS)" + $< $(CONFIGURE_COMMON) --includedir=$(build_includedir) \ + --without-ssl --without-gnutls --without-gssapi \ + --without-libidn --without-libmetalink --without-librtmp \ + --without-nghttp2 --without-nss --without-polarssl \ + --without-spnego --disable-ares --disable-ldap \ + --disable-ldaps --without-zsh-functions-dir \ + --with-libssh2=$(build_prefix) --with-mbedtls=$(build_prefix) \ + CFLAGS="$(CFLAGS) $(CURL_CFLAGS)" LDFLAGS="$(LDFLAGS) $(CURL_LDFLAGS)" touch -c $@ $(CURL_SRC_TARGET): $(BUILDDIR)/curl-$(CURL_VER)/config.status