]> code.ossystems Code Review - openembedded-core.git/commitdiff
libarchive: disable redundant libxml2 PACKAGECONFIG
authorRoss Burton <ross@burtonini.com>
Wed, 12 May 2021 15:53:16 +0000 (16:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 May 2021 10:33:47 +0000 (11:33 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/libarchive/libarchive_3.5.1.bb

index 1387b69066bf55f4b91ee8be07b0f2bc105f7b4c..c9e30f468fa1597dbce72641cd392b0657b966d1 100644 (file)
@@ -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)} \
 "