diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-11 15:04:59 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-11 15:06:28 +0200 |
commit | a3a47476c5ceed1688e37a5af8a5a988b504832e (patch) | |
tree | e64d9f67a34d7e56d2a5b1fcf023cbec5aa29f55 /include | |
parent | ff5d648629a5076175430564dcc60da2b28d1ee1 (diff) |
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/compress.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |