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 <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Yi Zhao 2020-11-20 14:49:37 +08:00 committed by Joe MacDonald
parent 5a58e87aa9
commit fb15056ff4

View File

@ -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"