diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-12 17:26:02 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-06-14 09:41:35 -0700 |
| commit | a97b97bdaaaadbeab7cbdf8d87e41174f94dd631 (patch) | |
| tree | 7df17c1c1fb93b473be63c52bc219645358d18f7 /meta-networking/recipes-support | |
| parent | 1b7c92fa9e206094a666eddc5cf1042b1d9575c3 (diff) | |
| download | meta-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.bb | 2 |
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" | |||
| 55 | EXTRA_OEMESON = "-Dpie=true" | 55 | EXTRA_OEMESON = "-Dpie=true" |
| 56 | EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" | 56 | EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" |
| 57 | 57 | ||
| 58 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" | ||
| 59 | |||
| 58 | FILES:${PN} += "${datadir}" | 60 | FILES:${PN} += "${datadir}" |
