diff options
Diffstat (limited to 'meta/recipes-core/libxml/libxml2_2.9.8.bb')
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.8.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2_2.9.8.bb b/meta/recipes-core/libxml/libxml2_2.9.8.bb index 740bf56a5a..0e2461154b 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.8.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.8.bb | |||
@@ -38,10 +38,12 @@ PACKAGECONFIG ??= "python \ | |||
38 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3" | 38 | PACKAGECONFIG[python] = "--with-python=${PYTHON},--without-python,python3" |
39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 39 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
40 | 40 | ||
41 | inherit autotools pkgconfig binconfig-disabled ptest | 41 | inherit autotools pkgconfig binconfig-disabled ptest distro_features_check |
42 | 42 | ||
43 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} | 43 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} |
44 | 44 | ||
45 | REQUIRED_DISTRO_FEATURES_libc-glibc = "${@'libc-charsets libc-locale-code libc-locales' if bb.utils.contains('DISTRO_FEATURES', 'ptest', True, False, d) else ''}" | ||
46 | |||
45 | RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" | 47 | RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}" |
46 | 48 | ||
47 | RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" | 49 | RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}" |