mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
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." (From OE-Core rev: 6090bec1261726e5290f50e9cd22e42952253ed5) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3c5e126401
commit
0ea02c5283
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d499814247adaee08d88080841cb5665"
|
||||
|
||||
DEPENDS = "e2fsprogs-native"
|
||||
|
||||
PACKAGECONFIG ?= "zlib bz2 xz lzo"
|
||||
PACKAGECONFIG ?= "zlib bz2 xz lzo zstd"
|
||||
|
||||
PACKAGECONFIG_append_class-target = "\
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
|
||||
@@ -28,6 +28,7 @@ PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
|
||||
PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
|
||||
PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
|
||||
PACKAGECONFIG[mbedtls] = "--with-mbedtls,--without-mbedtls,mbedtls,"
|
||||
PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd,"
|
||||
|
||||
EXTRA_OECONF += "--enable-largefile"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user