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: 4acbd2269931b500846d56885c3304d244e514f8)

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:21 +02:00
committed by Richard Purdie
parent 558f2e49a5
commit 90b51331ad

View File

@@ -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"