diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-09-17 10:01:30 -0700 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-09-20 23:52:02 +0000 |
commit | 047fb6c66a27bbc7fd6f591a1d068731d7cd58de (patch) | |
tree | d8d18f42376c68c551c9fff5beecc3f3a8c85abe /recipes-graphics/cairo | |
parent | 24f2861a3b6a424c3ca5cf9c255e8875a37d288e (diff) | |
download | meta-freescale-047fb6c66a27bbc7fd6f591a1d068731d7cd58de.tar.gz |
cairo,xwayland: Fix compiling with musl with vivante gpu driver libs
This ensures that the symbols from the prebuilt libs are not flagged
during build, we are betting on gcompat to provide the missing glibc
API stubs at runtime.
Depend on gcompat on musl needed for imxgpu machines its needed
since graphics driver is precompiled for glibc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fa4112e43fc4edc4a8521eddd459606328be647e)
Diffstat (limited to 'recipes-graphics/cairo')
-rw-r--r-- | recipes-graphics/cairo/cairo_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend index 245adb59..c61e9a58 100644 --- a/recipes-graphics/cairo/cairo_%.bbappend +++ b/recipes-graphics/cairo/cairo_%.bbappend | |||
@@ -3,6 +3,6 @@ PACKAGECONFIG:remove:imxgpu3d = "opengl" | |||
3 | 3 | ||
4 | # links with imx-gpu libs which are pre-built for glibc | 4 | # links with imx-gpu libs which are pre-built for glibc |
5 | # gcompat will address it during runtime | 5 | # gcompat will address it during runtime |
6 | LDFLAGS:append:imxgpu3d:libc-musl = " -Wl,--allow-shlib-undefined" | ||
7 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | 6 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" |
8 | 7 | ||
8 | RDEPENDS:${PN}:append:imxgpu:libc-musl = " gcompat" | ||