aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-08-01 13:57:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-02 09:30:06 +0100
commit848031cf0b89b752c6fedcb63fc6938642a87fd8 (patch)
tree5c8ce70e405ca5801927dd245185ee6de265f424 /meta/recipes-core/libxml
parent28fc470e5e10ee9cce893d037ed5e518bc5612f5 (diff)
downloadopenembedded-core-contrib-848031cf0b89b752c6fedcb63fc6938642a87fd8.tar.gz
openembedded-core-contrib-848031cf0b89b752c6fedcb63fc6938642a87fd8.tar.bz2
openembedded-core-contrib-848031cf0b89b752c6fedcb63fc6938642a87fd8.zip
libxml2: fix libxml2 ptest fails
for core-image-minimal image, missing these two dependency will cause below warning and error: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ./test/icu_parse_test.xml generated an error Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml')
-rw-r--r--meta/recipes-core/libxml/libxml2_2.9.8.bb7
1 files changed, 6 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 1f22bb0b07..27a648e97a 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.8.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.8.bb
@@ -44,7 +44,12 @@ RDEPENDS_${PN}-ptest += "make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'l
RDEPENDS_${PN}-python += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-core', '', d)}"
-RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us glibc-gconv-ibm1141 glibc-gconv-iso8859-5"
+RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-ebcdic-us \
+ glibc-gconv-ibm1141 \
+ glibc-gconv-iso8859-5 \
+ glibc-gconv-euc-jp \
+ locale-base-en-us \
+ "
export PYTHON_SITE_PACKAGES="${PYTHON_SITEPACKAGES_DIR}"