From a3a47476c5ceed1688e37a5af8a5a988b504832e Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Tue, 11 Jun 2019 15:04:59 +0200 Subject: Cleanup dependency handling Always try to gather all compressor libraries available, but only complain about missing a one if it has been *explicitly* selected. If a compressor has been explicityl disabled, we can still turn it off after checking. Also, rework gensquashfs to set the default compressor based on what's available. Signed-off-by: David Oberhollenzer --- include/compress.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/compress.h') diff --git a/include/compress.h b/include/compress.h index 5f13bc6..c9a4e08 100644 --- a/include/compress.h +++ b/include/compress.h @@ -49,4 +49,6 @@ compressor_t *compressor_create(E_SQFS_COMPRESSOR id, bool compress, void compressor_print_help(E_SQFS_COMPRESSOR id); +E_SQFS_COMPRESSOR compressor_get_default(void); + #endif /* COMPRESS_H */ -- cgit v1.2.3