]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Support libzstd compiled with compressor disabled 1649/head
authorPetr Malat <oss@malat.biz>
Thu, 23 Dec 2021 10:47:04 +0000 (11:47 +0100)
committerPetr Malat <oss@malat.biz>
Thu, 23 Dec 2021 11:23:16 +0000 (12:23 +0100)
commit406165fcb2a1b3a49983d9e68fcbee9d3640fbea
tree3d62967daca48d0575f082c73c0c5cd4abd03367
parent411284e3f5819a5726622f3f129ebf2859f2d46b
Support libzstd compiled with compressor disabled

ZSTD library can be compiled with the compressor disabled, which is
handy on space restricted systems as the compressor accounts for more
than two thirds of the library size.

Detect this case and use libzstd for the decompression only.
Compression will be done using zstd binary if it's available.
CMakeLists.txt
build/cmake/config.h.in
configure.ac
libarchive/archive_write_add_filter_zstd.c