From 353c1fd44ecb4ab1e58c26705888bbacf8ca4ffa Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Sep 2022 15:54:02 -0700 Subject: weston: Allow undefined symbols with musl These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj (cherry picked from commit 6a882207bccfad31d78b912006138bda79667615) --- recipes-graphics/wayland/weston_10.0.0.imx.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-graphics/wayland/weston_10.0.0.imx.bb b/recipes-graphics/wayland/weston_10.0.0.imx.bb index a9f6ec13..b9e8fca5 100644 --- a/recipes-graphics/wayland/weston_10.0.0.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.0.imx.bb @@ -202,6 +202,10 @@ EXTRA_OEMESON:append:imxfbdev = " -Dbackend-default=fbdev" EXTRA_OEMESON += "-Ddeprecated-wl-shell=true" +# links with imx-gpu libs which are pre-built for glibc +# gcompat will address it during runtime +LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" + PACKAGE_ARCH = "${MACHINE_SOCARCH}" COMPATIBLE_MACHINE = "(imxfbdev|imxgpu)" -- cgit v1.2.3-54-g00ecf