]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
curl: only set CA bundle in target build
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Thu, 20 Mar 2025 11:02:33 +0000 (12:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Mar 2025 17:16:33 +0000 (17:16 +0000)
commit4909a46e93ba774c960c3d3c277e2a669af3fea6
treee07fc4390a2a00281fd7120f8fbc4dbd39c9c3f2
parent86b408919d9506b6f1ba69c96f1bc6212e724bbc
curl: only set CA bundle in target build

In native/nativesdk builds, sysconfdir refers to a recipe sysroot
directory, which will disappear once the workdir is cleaned up, breaking
libcurl's HTTPS connections.

By simply not setting --with-ca-bundle at all in non-target builds, curl
defaults to the host system's CA certificates, which is desirable anyways
to allow builds in environments that require local CA certificates.

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/curl/curl_8.12.1.bb