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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-11-24 08:53:21 -08:00
parent ff8b832565
commit 5d28ad9899
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"