Skip to contentSkip to conversation

libarchive-native: Disable libxml2 support

PATCH New Richard Purdie 1 participant 1 message Jan 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libarchive-native: Disable libxml2 support

For libarchive-native, we don't really need libxml2 support. Adding this means we need libxml2-native which means we need python-native and makes the dependency chains pretty heavy. The target case is unaffected.

meta/recipes-extended/libarchive/libarchive_3.1.2.bb +2 -1
index 202507d..89c8faf 100644
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b4e3ffd607d6686c6cb2f63394370841"
 
 DEPENDS = "e2fsprogs-native"
 
-PACKAGECONFIG ?= "libxml2 zlib bz2"
+PACKAGECONFIG ?= "zlib bz2"
 
 PACKAGECONFIG_append_class-target = "\
+	libxml2 \
 	${@bb.utils.contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
 	${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
 	${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \