Inherit pkgconfig to fix the build error which is introduced by
oe-commit:
commit 8e26252b45b7660c7c67c702411bdec187a76ffc
Author: Richard Purdie <[email protected]>
Date: Sun Sep 19 16:17:31 2021 +0100
layer.conf: Extend recipes not to install without explict dependencies
Fixes:
make: pkg-config: Command not found
/usr/src/debug/libselinux/3.2-r0/git/libselinux/src/regex.c:399: undefined
reference to `pcre_fullinfo'
/usr/src/debug/libselinux/3.3-r0/git/libselinux/src/regex.c:444: undefined
reference to `pcre_free'
/usr/src/debug/libselinux/3.3-r0/git/libselinux/src/regex.c:456: undefined
reference to `pcre_exec'
Signed-off-by: Yi Zhao <[email protected]>
---
recipes-security/selinux/libselinux_3.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-security/selinux/libselinux_3.2.bb
b/recipes-security/selinux/libselinux_3.2.bb
index 55efbae..1144840 100644
--- a/recipes-security/selinux/libselinux_3.2.bb
+++ b/recipes-security/selinux/libselinux_3.2.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM =
"file://${S}/LICENSE;md5=84b4d2c6ef954a2d4081e775a270d0d0"
require selinux_common.inc
-inherit lib_package python3native
+inherit lib_package python3native pkgconfig
DEPENDS += "libsepol libpcre"
DEPENDS:append:libc-musl = " fts"
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55032): https://lists.yoctoproject.org/g/yocto/message/55032
Mute This Topic: https://lists.yoctoproject.org/mt/86256791/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-