]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
curl: only set CA bundle in target build
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Tue, 21 Oct 2025 19:26:12 +0000 (21:26 +0200)
committerSteve Sakoman <steve@sakoman.com>
Fri, 24 Oct 2025 13:41:43 +0000 (06:41 -0700)
commit0f98fecda8a0436f760e6fd9f3b7eb510e5258b8
tree2144dcfd2cc447465911e7a3c887b7bdc7f78399
parenta970b6c927fb4c04473484f6e4b0a9853c8a5896
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.

(From OE-Core rev: 4909a46e93ba774c960c3d3c277e2a669af3fea6)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/curl/curl_8.7.1.bb