From: Stefan Schmidt <stefan.schm...@huawei.com>

Plymouth uses rpmatch() which is not provided by musl. Instead we use
the standalone rpmatch implementation and add dependencies and LDFLAGS
adjustment for musl libs based builds.

Signed-off-by: Stefan Schmidt <stefan.schm...@huawei.com>
---
 meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb 
b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
index 04106fcc9..11fb30d48 100644
--- a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
+++ b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
@@ -13,6 +13,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libcap libpng cairo dbus udev"
+DEPENDS_append_libc-musl = " musl-rpmatch"
 PROVIDES = "virtual/psplash"
 RPROVIDES_${PN} = "virtual-psplash virtual-psplash-support"
 
@@ -42,6 +43,8 @@ LOGO ??= "${datadir}/plymouth/bizcom.png"
 
 inherit autotools pkgconfig systemd gettext
 
+LDFLAGS_append_libc-musl = " -lrpmatch"
+
 do_install_append() {
     # Remove /var/run from package as plymouth will populate it on startup
     rm -fr "${D}${localstatedir}/run"
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90208): 
https://lists.openembedded.org/g/openembedded-devel/message/90208
Mute This Topic: https://lists.openembedded.org/mt/81438255/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to