From: Peter Kjellerstedt Date: Thu, 14 Sep 2023 23:41:22 +0000 (+0200) Subject: libsoup: Only specify --cross-file when building for target X-Git-Tag: yocto-4.3~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae1893565bdd2597a08df6ac41db40641da66712;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libsoup/libsoup_3.4.2.bb b/meta/recipes-support/libsoup/libsoup_3.4.2.bb index ad86c890a12..3996ae68369 100644 --- a/meta/recipes-support/libsoup/libsoup_3.4.2.bb +++ b/meta/recipes-support/libsoup/libsoup_3.4.2.bb @@ -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