summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2022-02-15 13:54:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-16 09:46:24 +0000
commit6c737396c705e1388aff5f5a599c901a1a1760a2 (patch)
treea3329cd7189c26a3c8baff9c0bb66937fa70c376 /meta/recipes-support
parentc17e1023eff86e71734edeb592a26f3a9160d72e (diff)
downloadopenembedded-core-contrib-6c737396c705e1388aff5f5a599c901a1a1760a2.tar.gz
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 <ceggers@arri.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/curl/curl_7.81.0.bb1
1 files changed, 1 insertions, 0 deletions
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() {