1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

libsoup: 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-native to be
built again.

(From OE-Core rev: ae1893565bdd2597a08df6ac41db40641da66712)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Kjellerstedt
2023-09-15 01:41:22 +02:00
committed by Richard Purdie
parent 90b51331ad
commit 084c70344f
@@ -37,7 +37,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"
# Disable the test suites