mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 03:49:32 +02:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user