From: Stan Grishin Date: Wed, 2 Nov 2022 07:17:08 +0000 (+0000) Subject: curl: bugfix: building as selected package doesn't break build X-Git-Url: http://git.openwrt.org/?p=feed%2Fpackages.git;a=commitdiff_plain;h=9c78e10030e00956cb66d11cb2149eff69c9a494 curl: bugfix: building as selected package doesn't break build * Reported-by: Chen Minqiang * details [here](https://github.com/openwrt/packages/commit/88009b2d5e394c1822ec55734b63b434981a2a9d#commitcomment-88604318) Signed-off-by: Stan Grishin --- diff --git a/net/curl/Makefile b/net/curl/Makefile index 6b96d739b5..1b19a03185 100644 --- a/net/curl/Makefile +++ b/net/curl/Makefile @@ -124,6 +124,7 @@ CONFIGURE_ARGS += \ \ $(call autoconf_bool,CONFIG_IPV6,ipv6) \ \ + $(if $(CONFIG_LIBCURL_WOLFSSL)$(CONFIG_LIBCURL_GNUTLS)$(CONFIG_LIBCURL_OPENSSL)$(CONFIG_LIBCURL_MBEDTLS),,--without-ssl) \ $(if $(CONFIG_LIBCURL_WOLFSSL),--with-wolfssl="$(STAGING_DIR)/usr",--without-wolfssl) \ $(if $(CONFIG_LIBCURL_GNUTLS),--with-gnutls="$(STAGING_DIR)/usr",--without-gnutls) \ $(if $(CONFIG_LIBCURL_OPENSSL),--with-openssl="$(STAGING_DIR)/usr",--without-openssl) \