Skip to contentSkip to conversation

libselinux-python: inherit python3targetconfig

PATCH New Yi Zhao 1 participant 1 message Nov 20, 2020

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 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

---
 recipes-security/selinux/libselinux-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/selinux/libselinux-python.inc +1 -1
index 3760fd8..7149d94 100644
@@ -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"
Signature · 1 line
2.25.1