diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2023-09-15 01:41:21 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-18 05:25:19 -1000 |
commit | 629f043c8f1e066bf0e2c0548a0882b301a9a636 (patch) | |
tree | 11c479b80a27772c56337f05ebe80073e20dbb1f | |
parent | 975e96c83e1f80edac6fc698acb2bc82a95f8ad0 (diff) | |
download | poky-629f043c8f1e066bf0e2c0548a0882b301a9a636.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.
(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>
-rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | 2 |
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() { | |||
40 | ntlm_auth = '${bindir}/ntlm_auth' | 40 | ntlm_auth = '${bindir}/ntlm_auth' |
41 | EOF | 41 | EOF |
42 | } | 42 | } |
43 | EXTRA_OEMESON += "--cross-file ${WORKDIR}/soup.cross" | 43 | EXTRA_OEMESON:append:class-target = " --cross-file ${WORKDIR}/soup.cross" |
44 | 44 | ||
45 | EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" | 45 | EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" |
46 | 46 | ||