diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2020-11-20 14:49:37 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe@deserted.net> | 2020-12-15 14:09:23 -0500 |
| commit | fb15056ff44318d7886fd0f68e2f6dba716e9be4 (patch) | |
| tree | dae898d6c729ca8c4717eb85675ea3ab6c658bb2 | |
| parent | 5a58e87aa998c53527f92b32c3e6bc516a03d9a3 (diff) | |
| download | meta-selinux-fb15056ff44318d7886fd0f68e2f6dba716e9be4.tar.gz | |
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>
| -rw-r--r-- | recipes-security/selinux/libselinux-python.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
| 7 | 7 | ||
| 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/libselinux:" | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/libselinux:" |
| 9 | 9 | ||
| 10 | inherit python3native | 10 | inherit python3native python3targetconfig |
| 11 | 11 | ||
| 12 | DEPENDS += "python3 swig-native libpcre libsepol" | 12 | DEPENDS += "python3 swig-native libpcre libsepol" |
| 13 | RDEPENDS_${PN} += "libselinux python3-core python3-shell" | 13 | RDEPENDS_${PN} += "libselinux python3-core python3-shell" |
