]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libsoup-2.4: Only specify --cross-file when building for target
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Thu, 14 Sep 2023 23:41:21 +0000 (01:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Sep 2023 07:55:49 +0000 (08:55 +0100)
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>
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb

index 5abeced30b27d45ba95e6f71ca35e10e14ec03e7..a605857c60960188bab4752b48768454cc9772d3 100644 (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"