aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-10 12:04:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-10 14:24:44 +0100
commitbfaaeb44c5023e2d2a9414c07694c75fa527283b (patch)
tree2216fb1dbaa679a2c41e4941a0d096fc764a590e /meta/recipes-core/libxml/libxml2.inc
parent7dd2a12ebe49865720dcea60cd2ed13205c0c4fd (diff)
downloadopenembedded-core-contrib-bfaaeb44c5023e2d2a9414c07694c75fa527283b.tar.gz
openembedded-core-contrib-bfaaeb44c5023e2d2a9414c07694c75fa527283b.tar.bz2
openembedded-core-contrib-bfaaeb44c5023e2d2a9414c07694c75fa527283b.zip
libxml2: Fix libzypp ansidecl related build failures
cmake looks at all include statements, even if they're not used. To make builds deterministic and avoid needing to add binutils as a dependency for libzypp, completely remove the include from the header file, even if it is never used. This avoids issues where you'd build binutils, then libzypp, then remove binutils (and hence ansidecl.h) and then recompile libzypp which would still have the dependency and hence fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml/libxml2.inc')
-rw-r--r--meta/recipes-core/libxml/libxml2.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 943363136c..d70fe479d1 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -13,7 +13,8 @@ DEPENDS_virtclass-native = "python-native"
DEPENDS =+ "zlib"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
- file://libxml-64bit.patch"
+ file://libxml-64bit.patch \
+ file://ansidecl.patch"
inherit autotools pkgconfig binconfig