summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-06-12 17:26:02 -0700
committerKhem Raj <raj.khem@gmail.com>2023-06-14 09:41:35 -0700
commita97b97bdaaaadbeab7cbdf8d87e41174f94dd631 (patch)
tree7df17c1c1fb93b473be63c52bc219645358d18f7 /meta-networking/recipes-support
parent1b7c92fa9e206094a666eddc5cf1042b1d9575c3 (diff)
downloadmeta-openembedded-a97b97bdaaaadbeab7cbdf8d87e41174f94dd631.tar.gz
spice-gtk: Fix build with lld linker
lld flags errors when checking for --version-script linker option since the export file specifies symbols which do not exist during link, so in a way it is right, however bfd linker works fine and ignores this error. perhaps the meson check should be improved but until them lets add --undefined-version option to linker when using lld Fixes aarch64-yoe-linux-ld.lld: error: TOPDIR/build/tmp/work/cortexa72-cortexa53-crypto-mx8-yoe-linux/spice-gtk/0.42-r0/git/src/spice-glib-sym-file:1: unknown directive: spice_audio_get >>> spice_audio_get >>> ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r--meta-networking/recipes-support/spice/spice-gtk_0.42.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
index 542ddb69b7..27504392a6 100644
--- a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
+++ b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb
@@ -55,4 +55,6 @@ PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled"
55EXTRA_OEMESON = "-Dpie=true" 55EXTRA_OEMESON = "-Dpie=true"
56EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" 56EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext"
57 57
58LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
59
58FILES:${PN} += "${datadir}" 60FILES:${PN} += "${datadir}"