diff options
Diffstat (limited to 'meta/recipes-core/libxml/libxml2.inc')
-rw-r--r-- | meta/recipes-core/libxml/libxml2.inc | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc index 9b2af0ff8a..7fb2644416 100644 --- a/meta/recipes-core/libxml/libxml2.inc +++ b/meta/recipes-core/libxml/libxml2.inc @@ -13,12 +13,16 @@ DEPENDS_class-nativesdk = "nativesdk-python" DEPENDS_class-native = "python-native" DEPENDS =+ "zlib" -SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ +SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz;name=libtar \ file://libxml-64bit.patch \ - file://ansidecl.patch" + file://ansidecl.patch \ + file://runtest.patch \ + file://run-ptest \ + " +inherit autotools pkgconfig binconfig pythonnative ptest -inherit autotools pkgconfig binconfig pythonnative +RDEPENDS_${PN}-ptest_append_libc-glibc += "eglibc-gconv-ebcdic-us eglibc-gconv-ibm1141" # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header do_configure_prepend () { @@ -49,4 +53,8 @@ PACKAGES += "${PN}-utils" FILES_${PN}-dev += "${libdir}/xml2Conf.sh" FILES_${PN}-utils += "${bindir}/*" +do_install_ptest () { + cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH} +} + BBCLASSEXTEND = "native nativesdk" |