From 5d28ad9899387c05805ff8c445bbce4ffe8ab2a6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 24 Nov 2024 08:53:21 -0800 Subject: [PATCH] taisei: Use libucontext with musl Fixes errors like | koishi| Checking for function "getcontext" : NO (cached) | koishi| Checking for function "setcontext" : NO | koishi| Checking for function "makecontext" : NO (cached) | koishi| Checking for function "swapcontext" : NO (cached) | koishi| Message: ** Backend `ucontext_sjlj` is not supported | | ../git/subprojects/koishi/src/meson.build:43:4: ERROR: Problem encountered: Unsupported platform Signed-off-by: Khem Raj --- .../multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb index db38bb1547..5d368498dc 100644 --- a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb +++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb @@ -17,6 +17,8 @@ DEPENDS = "\ opusfile \ zstd \ " +DEPENDS:append:libc-musl = " libucontext" +LDFLAGS:append:libc-musl = " -lucontext" RDEPENDS_${PN} = "\ cglm (>= 0.7.8) \ @@ -48,6 +50,4 @@ PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false" PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false" PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native" - - FILES:${PN} += "${datadir}"