package/tiff: add zstd optional dependency
zstd is an optional dependency which is enabled by default since version
4.0.10 and
62b9df5d2a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
80fa5672da
commit
f934a00928
@ -72,4 +72,8 @@ config BR2_PACKAGE_TIFF_UTILITIES
|
||||
help
|
||||
Install all tiff utilities.
|
||||
|
||||
config BR2_PACKAGE_TIFF_ZSTD
|
||||
bool "ZSTD compression"
|
||||
select BR2_PACKAGE_ZSTD
|
||||
|
||||
endif
|
||||
|
@ -100,5 +100,12 @@ else
|
||||
TIFF_CONF_OPTS += --disable-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF_ZSTD),y)
|
||||
TIFF_CONF_OPTS += --enable-zstd
|
||||
TIFF_DEPENDENCIES += zstd
|
||||
else
|
||||
TIFF_CONF_OPTS += --disable-zstd
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user