From fb15056ff44318d7886fd0f68e2f6dba716e9be4 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 20 Nov 2020 14:49:37 +0800 Subject: libselinux-python: inherit python3targetconfig The python3 target configuration has been split into own class in oe-core commit 5a118d4e7985fa88f04c3611f8db813f0dafce75. Inherit it to fix the build error. Fixes: selinuxswig_python_wrap.o: file not recognized: File format not recognized collect2: error: ld returned 1 exit status Signed-off-by: Yi Zhao Signed-off-by: Joe MacDonald --- recipes-security/selinux/libselinux-python.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-security/selinux/libselinux-python.inc') diff --git a/recipes-security/selinux/libselinux-python.inc b/recipes-security/selinux/libselinux-python.inc index 3760fd8..7149d94 100644 --- a/recipes-security/selinux/libselinux-python.inc +++ b/recipes-security/selinux/libselinux-python.inc @@ -7,7 +7,7 @@ LICENSE = "PD" FILESEXTRAPATHS_prepend := "${THISDIR}/libselinux:" -inherit python3native +inherit python3native python3targetconfig DEPENDS += "python3 swig-native libpcre libsepol" RDEPENDS_${PN} += "libselinux python3-core python3-shell" -- cgit v1.2.3-54-g00ecf