libcap-ng: Replace python patch with a better fix

By using the python3targetconfig class we can drop the existing python
patch and the extra make parameters.

(From OE-Core rev: 3bbebc39235f50af4d66e3284b67c1491d2c93f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-02-20 15:08:04 +00:00
parent e1767e1287
commit b567f5f59e
3 changed files with 1 additions and 61 deletions

View File

@@ -4,14 +4,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:"
SUMMARY .= " - python"
inherit lib_package autotools python3native
inherit lib_package autotools python3targetconfig
DEPENDS += "libcap-ng python3 swig-native"
S = "${WORKDIR}/libcap-ng-${PV}"
EXTRA_OECONF += "--with-python --with-python3"
EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
do_install_append() {
rm -rf ${D}${bindir}