diff options
author | Christian Eggers <ceggers@arri.de> | 2022-02-15 13:54:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-16 09:46:29 +0000 |
commit | 083623bdd356daa3e5000f261464b73ec8243f91 (patch) | |
tree | 889b590042a2576f7e5785ec26455066f25376d9 /meta/recipes-support | |
parent | 371a46cb7821130321036de09e0f0dd7b659316a (diff) | |
download | poky-083623bdd356daa3e5000f261464b73ec8243f91.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")
(From OE-Core rev: 6c737396c705e1388aff5f5a599c901a1a1760a2)
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.bb | 1 |
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 = " \ | |||
67 | --enable-debug \ | 67 | --enable-debug \ |
68 | --enable-optimize \ | 68 | --enable-optimize \ |
69 | --disable-curldebug \ | 69 | --disable-curldebug \ |
70 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls nss openssl', d) == '') else ''} \ | ||
70 | " | 71 | " |
71 | 72 | ||
72 | do_install:append:class-target() { | 73 | do_install:append:class-target() { |