package/wireshark: add zlib optional dependency

zlib is an optional dependency which is enabled by default since at
least version 1.8.0 and
7133f6944d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-12-29 11:39:53 +01:00 committed by Peter Korsgaard
parent 84e52a60b4
commit e6365126e7

View File

@ -157,6 +157,13 @@ else
WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=OFF
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
WIRESHARK_CONF_OPTS += -DENABLE_ZLIB=ON
WIRESHARK_DEPENDENCIES += zlib
else
WIRESHARK_CONF_OPTS += -DENABLE_ZLIB=OFF
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=ON
WIRESHARK_DEPENDENCIES += zstd