1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

libsoup-2.4: Only specify --cross-file when building for target

The soup.cross file is only created when building for target so only
tell meson to read it when it exists. This allows libsoup-2.4-native to
be built again.

(From OE-Core rev: d52003dd13cb17e32ccfa717f8462c8301334dd1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4acbd2269931b500846d56885c3304d244e514f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Peter Kjellerstedt
2023-09-15 01:41:21 +02:00
committed by Steve Sakoman
parent 975e96c83e
commit 629f043c8f
@@ -40,7 +40,7 @@ do_write_config:append:class-target() {
ntlm_auth = '${bindir}/ntlm_auth'
EOF
}
EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross"
EXTRA_OEMESON:append:class-target = " --cross-file ${WORKDIR}/soup.cross"
EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false"