summaryrefslogtreecommitdiffstats
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:25:37 +0100
commit064ef460b2a7b08d7bf2fd0a613f01d1cea33955 (patch)
tree4ade16ad6776c84648ad9a6bd513c073b6459ec0 /meta/recipes-core/libxml/libxml2.inc
parent89ca5701eac4dfcadcb3ab677746aa0a50d7e4a5 (diff)
downloadpoky-064ef460b2a7b08d7bf2fd0a613f01d1cea33955.tar.gz
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. (From OE-Core rev: bfaaeb44c5023e2d2a9414c07694c75fa527283b) 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"
13DEPENDS =+ "zlib" 13DEPENDS =+ "zlib"
14 14
15SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \ 15SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
16 file://libxml-64bit.patch" 16 file://libxml-64bit.patch \
17 file://ansidecl.patch"
17 18
18 19
19inherit autotools pkgconfig binconfig 20inherit autotools pkgconfig binconfig