summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libarchive
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@gmail.com>2021-05-25 15:40:47 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-27 13:21:38 +0100
commit0ea02c52834f21673d272dc0620053d6afddd664 (patch)
tree79aaa9bd3cf54d69ad3abccedf12b3db155702a1 /meta/recipes-extended/libarchive
parent3c5e126401c8bcd4d7759c28cc644f18f7eb65b7 (diff)
downloadpoky-0ea02c52834f21673d272dc0620053d6afddd664.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/libarchive')
-rw-r--r--meta/recipes-extended/libarchive/libarchive_3.5.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive_3.5.1.bb b/meta/recipes-extended/libarchive/libarchive_3.5.1.bb
index c9e30f468f..ebecee1f3e 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.5.1.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.5.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d499814247adaee08d88080841cb5665"
7 7
8DEPENDS = "e2fsprogs-native" 8DEPENDS = "e2fsprogs-native"
9 9
10PACKAGECONFIG ?= "zlib bz2 xz lzo" 10PACKAGECONFIG ?= "zlib bz2 xz lzo zstd"
11 11
12PACKAGECONFIG_append_class-target = "\ 12PACKAGECONFIG_append_class-target = "\
13 ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \ 13 ${@bb.utils.filter('DISTRO_FEATURES', 'acl xattr', d)} \
@@ -28,6 +28,7 @@ PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
28PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle," 28PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
29PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," 29PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
30PACKAGECONFIG[mbedtls] = "--with-mbedtls,--without-mbedtls,mbedtls," 30PACKAGECONFIG[mbedtls] = "--with-mbedtls,--without-mbedtls,mbedtls,"
31PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd,"
31 32
32EXTRA_OECONF += "--enable-largefile" 33EXTRA_OECONF += "--enable-largefile"
33 34