From: Ross Burton Date: Wed, 12 May 2021 15:53:16 +0000 (+0100) Subject: libarchive: disable redundant libxml2 PACKAGECONFIG X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~7852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=363f1ee30b0e6d222943aaed8dce37a4a441a86d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/libarchive/libarchive_3.5.1.bb b/meta/recipes-extended/libarchive/libarchive_3.5.1.bb index 1387b69066b..c9e30f468fa 100644 --- a/meta/recipes-extended/libarchive/libarchive_3.5.1.bb +++ b/meta/recipes-extended/libarchive/libarchive_3.5.1.bb @@ -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)} \ "