mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
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>
This commit is contained in:
parent
d81fcc5878
commit
e013d413c8
|
|
@ -10,7 +10,7 @@ SRC_URI += "file://fix-sepolicy-install-path.patch"
|
|||
|
||||
inherit python3native
|
||||
|
||||
DEPENDS += "python3 libsepol"
|
||||
DEPENDS += "python3 libsepol libselinux"
|
||||
RDEPENDS_${BPN}-audit2allow += "\
|
||||
python3-core \
|
||||
libselinux-python \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user