summaryrefslogtreecommitdiff
path: root/meta/recipes-support/libcap-ng
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-06-02 12:26:05 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 11:45:25 +0100
commit671a8e58aba0a01ad8571995dadbf569706df954 (patch)
tree8f3a060ffaca4b5dcb506336e37404568753aa0c /meta/recipes-support/libcap-ng
parentfa707f700c0d2317cc5c0289e3e1fc1eb859ef40 (diff)
downloadopenembedded-core-671a8e58aba0a01ad8571995dadbf569706df954.tar.gz
openembedded-core-671a8e58aba0a01ad8571995dadbf569706df954.tar.bz2
openembedded-core-671a8e58aba0a01ad8571995dadbf569706df954.zip
libcap-ng: move to Python 3
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap-ng')
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb
index 5715467664..5608f495e6 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.7.bb
@@ -10,16 +10,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \
file://python.patch"
-inherit lib_package autotools pythonnative
+inherit lib_package autotools python3native
SRC_URI[md5sum] = "3d7d126b29e2869a0257c17c8b0d9b2e"
SRC_URI[sha256sum] = "615549ce39b333f6b78baee0c0b4ef18bc726c6bf1cca123dfd89dd963f6d06b"
-DEPENDS += "swig-native python"
+DEPENDS += "swig-native python3"
-EXTRA_OECONF += "--without-python3"
-
-EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
+export PYTHON
+export STAGING_INCDIR
+export STAGING_LIBDIR
+EXTRA_OECONF += "--with-python --with-python3"
+EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
PACKAGES += "${PN}-python"