From 6c737396c705e1388aff5f5a599c901a1a1760a2 Mon Sep 17 00:00:00 2001 From: Christian Eggers Date: Tue, 15 Feb 2022 13:54:56 +0100 Subject: curl: configure with '--without-ssl' if ssl is disabled curl requires that at least one SSL implementation or explicitly '--without-ssl' is specified. This is particularly the case if PACKAGECONFIG is empty. | configure: error: select TLS backend(s) or disable TLS with --without-ssl. | | Select from these: | | --with-amissl | --with-bearssl | --with-gnutls | --with-mbedtls | --with-mesalink | --with-nss | --with-openssl (also works for BoringSSL and libressl) | --with-rustls | --with-schannel | --with-secure-transport | --with-wolfssl | Fixes: eef6c45fc6ec ("curl: Rework openssl and random PACKAGECONFIGs") Signed-off-by: Christian Eggers Signed-off-by: Richard Purdie --- meta/recipes-support/curl/curl_7.81.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-support') diff --git a/meta/recipes-support/curl/curl_7.81.0.bb b/meta/recipes-support/curl/curl_7.81.0.bb index c22a13cfea..e7219def18 100644 --- a/meta/recipes-support/curl/curl_7.81.0.bb +++ b/meta/recipes-support/curl/curl_7.81.0.bb @@ -67,6 +67,7 @@ EXTRA_OECONF = " \ --enable-debug \ --enable-optimize \ --disable-curldebug \ + ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls nss openssl', d) == '') else ''} \ " do_install:append:class-target() { -- cgit 1.2.3-korg