Skip to contentSkip to conversation

libselinux-python: Fix one invalid link

PATCH New Changqing Li 1 participant 1 message Apr 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libselinux-python: Fix one invalid link

From: Changqing Li <[email protected]>

when host arch and target arch are different, the extension suffix of host is different with target one, so there will be a invalid link. Fix by update the way to create the link.

---
 recipes-security/selinux/libselinux-python_3.0.bb  |  1 +
 ...PYCEXT-and-rely-on-the-installed-file-nam.patch | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 recipes-security/selinux/libselinux/0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
recipes-security/selinux/libselinux-python_3.0.bb +1 -0
index e024a22..2b5438d 100644
@@ -16,5 +16,6 @@ SRC_URI += "\
         file://libselinux-define-FD_CLOEXEC-as-necessary.patch \
         file://0001-Fix-building-against-musl-and-uClibc-libc-libraries.patch \
         file://0001-Makefile-fix-python-modules-install-path-for-multili.patch \
+        file://0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch \
         "
 S = "${WORKDIR}/libselinux-${PV}"
recipes-security/selinux/libselinux/0001-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.7.4