mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 14:32:47 +00:00
plymouth_0.9.5.bb: allow building with musl libc
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.schmidt@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
ad220639dd
commit
3591919feb
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user