libxml2: Explicitly enable zlib support

Submitted by Otavio Salvador on Aug. 24, 2014, 7:39 p.m.


Message ID
State Accepted
Commit 7d056397ab9912316064db850aae05aacabc726c
Headers show

Commit Message

Otavio Salvador Aug. 24, 2014, 7:39 p.m.
The zlib support is a must if you are using RPM backend. So this
explicitly enable it and adds a comment in the recipe to avoid its
removal by mistake.

Signed-off-by: Otavio Salvador <>
 meta/recipes-core/libxml/ |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/libxml/ b/meta/recipes-core/libxml/
index 2dffc5a..24ea66a 100644
--- a/meta/recipes-core/libxml/
+++ b/meta/recipes-core/libxml/
@@ -39,10 +39,11 @@  do_configure_prepend_class-nativesdk () {
+# WARNING: zlib is require for RPM use
 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_linuxstdbase = "--without-python --with-debug --with-legacy --with-docbook --with-c14n --without-lzma"
+EXTRA_OECONF_class-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --with-zlib"
+EXTRA_OECONF_class-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --without-docbook --with-c14n --without-lzma --with-zlib"
+EXTRA_OECONF_linuxstdbase = "--without-python --with-debug --with-legacy --with-docbook --with-c14n --without-lzma --with-zlib"
 # required for pythong binding
 export HOST_SYS