]> code.ossystems Code Review - openembedded-core.git/commit
libarchive: enable zstd support
authorSamuli Piippo <samuli.piippo@gmail.com>
Tue, 25 May 2021 12:40:47 +0000 (15:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 May 2021 12:20:44 +0000 (13:20 +0100)
commit6090bec1261726e5290f50e9cd22e42952253ed5
tree9883e4f770e095fe619cde2a62568d77997f153a
parentb9c983eb22a9b0771a0454216d1d7cbb5f3f8a16
libarchive: enable zstd support

Now that zstd is in oe-core, add PACKAGECONFIG for it and enabled
it by default in libarchive.

zstd support is expected by CMake, which in nativesdk depends on
libarchive. CMake depends on having all formats supported and build
issues can arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/libarchive/libarchive_3.5.1.bb