summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2023-09-15 01:41:21 +0200
committerSteve Sakoman <steve@sakoman.com>2023-10-12 16:23:08 -1000
commitd52003dd13cb17e32ccfa717f8462c8301334dd1 (patch)
tree080223d1917863b8a4fb42100ca2ef38fe3ecbb0
parent687989f2ee2204643157e04a976d3310018a3bb3 (diff)
downloadopenembedded-core-d52003dd13cb17e32ccfa717f8462c8301334dd1.tar.gz
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. 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>
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb
index 5abeced30b..a605857c60 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb
@@ -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"