Skip to contentSkip to conversation

libarchive: disable redundant libxml2 PACKAGECONFIG

PATCH New Ross Burton 1 participant 1 message May 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libarchive: disable redundant libxml2 PACKAGECONFIG

An XML parser (either libxml2, or expat) is only needed by libarchive to read/write XAR archives. However, these also need OpenSSL enabled which by default it is not, so XAR files were disabled and libxml2 was a build dependency for no reason.

As XAR archives are mainly used on macOS, we can remove libxml2.

---
 meta/recipes-extended/libarchive/libarchive_3.5.1.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-extended/libarchive/libarchive_3.5.1.bb +0 -1
index 1387b69066b..c9e30f468fa 100644
@@ -10,7 +10,6 @@ DEPENDS = "e2fsprogs-native"
 PACKAGECONFIG ?= "zlib bz2 xz lzo"
 
 PACKAGECONFIG_append_class-target = "\
-	libxml2 \
 	${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
 "
 
Signature · 1 line
2.25.1