[oe-commits] Mario Domenech Goulart : libxml2: explicitly disable zlib for native builds
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 20 14:09:12 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 9e414be806a64541211c5a555569f1d3b2ebb9bf
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9e414be806a64541211c5a555569f1d3b2ebb9bf
Author: Mario Domenech Goulart <mario at ossystems.com.br>
Date: Thu Aug 14 17:20:39 2014 -0300
libxml2: explicitly disable zlib for native builds
Without this change, meta-openembedded's php recipe (as of 45e62fb8 --
"php 5.4.14: use pkg-config for libxml2 detection") breaks with this
error on my system:
tmp/sysroots/x86_64-linux/usr/lib/libxml2.so: undefined reference
to `gzopen64 at ZLIB_1.2.3.3'
It seems that the host's zlib is leaking into libxml2's build.
Signed-off-by: Mario Domenech Goulart <mario at ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-core/libxml/libxml2.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 2dffc5a..69b7dba 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -40,8 +40,8 @@ do_configure_prepend_class-nativesdk () {
}
EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog --without-docbook --with-c14n --without-lzma --with-fexceptions"
-EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma"
-EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma"
+EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --without-zlib"
+EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --without-zlib"
EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-docbook --with-c14n --without-lzma"
# required for pythong binding
More information about the Openembedded-commits
mailing list