From: Stefan Schmidt <[email protected]>

Musl does not provide rpmatch() while glibc does. This is a standalone
implementation for musl libc based systems.

Using it for a recipe is as simple as adding the dependency and adding
-lrpmatch to the LDFLAGS for linking. An example for plymouth is
provided as follow up patch.

Signed-off-by: Stefan Schmidt <[email protected]>
---
 .../recipes-core/musl-rpmatch/musl-rpmatch_git.bb    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb

diff --git a/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb 
b/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb
new file mode 100644
index 000000000..553003f7f
--- /dev/null
+++ b/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb
@@ -0,0 +1,12 @@
+SUMMARY = "Implementation of rpmatch(3) for musl libc."
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=81a81bf31abecc50c20862fc8a716329"
+
+SRC_URI = "gitsm://github.com/pullmoll/musl-rpmatch.git;protocol=https"
+
+PV = "1.0+git${SRCPV}"
+SRCREV = "46267b154987d3e1f25d3a75423faa62bb5ee342"
+
+inherit autotools
+
+S = "${WORKDIR}/git"
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#90207): 
https://lists.openembedded.org/g/openembedded-devel/message/90207
Mute This Topic: https://lists.openembedded.org/mt/81438241/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to