On Tue, Sep 20, 2022 at 04:17:53PM +0200, Marc Kleine-Budde wrote: > If no SSL backend is selected configure will fail with the following > error: > > | configure: error: TLS not detected, you will not be able to use HTTPS, > FTPS, NTLM and more. > | Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, > | --with-nss, --with-schannel, --with-secure-transport, --with-amissl, > | --with-bearssl or --with-rustls to address this. > > Fixes: 34db9dd470bd ("libcurl: Version bump. 7.84.0 -> 7.85.0") > Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de> > --- > rules/libcurl.make | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/rules/libcurl.make b/rules/libcurl.make > index 0d0ac9ea33d0..1ddefa9a5b4e 100644 > --- a/rules/libcurl.make > +++ b/rules/libcurl.make > @@ -105,7 +105,6 @@ LIBCURL_CONF_OPT := \ > --without-brotli \ > --without-zstd \ > --without-gssapi \ > - --with-default-ssl-backend=$(PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND) \ > --with-random=/dev/urandom \ > --with-ca-bundle=$(PTXCONF_LIBCURL_SSL_CABUNDLE_PATH) \ > --with-ca-path=$(PTXCONF_LIBCURL_SSL_CAPATH_PATH) \ > @@ -126,6 +125,14 @@ LIBCURL_CONF_OPT := \ > --without-zsh-functions-dir \ > --without-fish-functions-dir > > +ifdef PTXCONF_LIBCURL_SSL > +LIBCURL_CONF_OPT += \ > + --with-default-ssl-backend=$(PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND) > +else > +LIBCURL_CONF_OPT += \ > + --without-ssl > +endif
See my mail in the other thread. I don't think it needs to be this complex. Michael > + > # > ---------------------------------------------------------------------------- > # Target-Install > # > ---------------------------------------------------------------------------- > -- > 2.30.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |