summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-03-02 16:52:00 +0800
committerJoe MacDonald <joe@deserted.net>2021-03-03 13:55:58 -0500
commite013d413c8b67623c11e14377ad1592e5da73e29 (patch)
tree3f877910af3f77fb3a87005063fe8d4bc6344423
parentd81fcc5878b98683270272360ef91bffb0643aed (diff)
downloadmeta-selinux-e013d413c8b67623c11e14377ad1592e5da73e29.tar.gz
selinux-python: depend on libselinux
Fix build error when selinux feature is not enabled: sepolgen-ifgen-attr-helper.c:29:10: fatal error: selinux/selinux.h: No such file or directory 29 | #include <selinux/selinux.h> | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r--recipes-security/selinux/selinux-python.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/selinux/selinux-python.inc b/recipes-security/selinux/selinux-python.inc
index e690ac5..827fa8b 100644
--- a/recipes-security/selinux/selinux-python.inc
+++ b/recipes-security/selinux/selinux-python.inc
@@ -10,7 +10,7 @@ SRC_URI += "file://fix-sepolicy-install-path.patch"
10 10
11inherit python3native 11inherit python3native
12 12
13DEPENDS += "python3 libsepol" 13DEPENDS += "python3 libsepol libselinux"
14RDEPENDS_${BPN}-audit2allow += "\ 14RDEPENDS_${BPN}-audit2allow += "\
15 python3-core \ 15 python3-core \
16 libselinux-python \ 16 libselinux-python \