From ad220639ddb67648d3eb9ddf536613d5999c1e2a Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 18 Mar 2021 20:32:35 +0100 Subject: musl-rpmatch_git.bb: add new recipe to provide rpmatch() for musl libc builds 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 Signed-off-by: Khem Raj --- meta-oe/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 (limited to 'meta-oe/recipes-core') 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" -- cgit v1.2.3-54-g00ecf