From aa66dc91d3db7b1b800330fbda3dce27ee270214 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 25 May 2012 09:15:39 +0000 Subject: libxml2/libxslt: Don't depend on ansidecl.h header We don't DEPEND on binutils for ansidecl.h so ensure we should never use the header. This makes builds determinstic and means something like: bitbake binutils bitbake libxml2 -c configure bitbake binutils -c clean bitbake libxml2 doen't fail to build. (From OE-Core rev: 54d27bbc26d1e45e51ee8ef0f051a2bd8f627cc0) Signed-off-by: Richard Purdie --- meta/recipes-core/libxml/libxml2.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc index 2eecbd30e7..32d6e8cd31 100644 --- a/meta/recipes-core/libxml/libxml2.inc +++ b/meta/recipes-core/libxml/libxml2.inc @@ -18,6 +18,11 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ inherit autotools pkgconfig binconfig +# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header +do_configure_prepend () { + sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in +} + EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n" EXTRA_OECONF_virtclass-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n" -- cgit v1.2.3-54-g00ecf