summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-08-29 23:20:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 17:57:11 +0100
commit26260d76b7e86da88620293cf42e37f833ce8956 (patch)
tree28e67fc3f4209e652bf34921193fd4862e0f5fb7 /meta/recipes-core
parent01406f8bf69ade6370bcaebbfea4a8747758a152 (diff)
downloadpoky-26260d76b7e86da88620293cf42e37f833ce8956.tar.gz
libxml2: move python module to Python 3
(From OE-Core rev: 30417429cea525e6eb6c3cfbe760ebe7b13f0980) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.4.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 3b081dd2fe..4de88d39a4 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -41,16 +41,16 @@ BINCONFIG = "${bindir}/xml2-config"
41PACKAGECONFIG ??= "python \ 41PACKAGECONFIG ??= "python \
42 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \ 42 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
43" 43"
44PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python" 44PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3"
45PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 45PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
46 46
47inherit autotools pkgconfig binconfig-disabled ptest 47inherit autotools pkgconfig binconfig-disabled ptest
48 48
49inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'pythonnative', '', d)} 49inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)}
50 50
51RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" 51RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
52 52
53RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-core', '', d)}" 53RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
54 54
55RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141" 55RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141"
56 56