diff mbox series

[meta-selinux] libsemanage: Add python3 to dependencies

Message ID 20220922193142.2288256-1-oobitots@cisco.com
State New
Headers show
Series [meta-selinux] libsemanage: Add python3 to dependencies | expand

Commit Message

Oleksiy Obitotskyy Sept. 22, 2022, 7:31 p.m. UTC
Recipe have implicit dependency on nativesdk-python,
so recipe-sysroot-root populated with python headers.
But during build code look for headers into recipe-sysroot.
Add python dependency explicitly.

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
---
 recipes-security/selinux/libsemanage_3.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-security/selinux/libsemanage_3.4.bb b/recipes-security/selinux/libsemanage_3.4.bb
index 08d2c9c..7f038ac 100644
--- a/recipes-security/selinux/libsemanage_3.4.bb
+++ b/recipes-security/selinux/libsemanage_3.4.bb
@@ -16,7 +16,7 @@  SRC_URI += "file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \
             file://libsemanage-disable-expand-check-on-policy-load.patch \
            "
 
-DEPENDS = "libsepol libselinux bison-native swig-native"
+DEPENDS = "libsepol libselinux python3 bison-native swig-native"
 
 DEPENDS:append:class-target = " audit"