]> code.ossystems Code Review - openembedded-core.git/commit
libxml2: Fix libzypp ansidecl related build failures
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jul 2012 12:04:31 +0000 (12:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jul 2012 13:24:44 +0000 (14:24 +0100)
commitbfaaeb44c5023e2d2a9414c07694c75fa527283b
tree2216fb1dbaa679a2c41e4941a0d096fc764a590e
parent7dd2a12ebe49865720dcea60cd2ed13205c0c4fd
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>
meta/recipes-core/libxml/libxml2.inc
meta/recipes-core/libxml/libxml2/ansidecl.patch [new file with mode: 0644]
meta/recipes-core/libxml/libxml2_2.8.0.bb