package/wireshark: add zlib optional dependency

zlib is an optional dependency which is enabled by default since at
least version 1.8.0 and
https://github.com/wireshark/wireshark/commit/7133f6944dc26740f5ebf56c2ca33be86a6e0f09

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine
2023-01-06 08:37:26 +01:00
committed by Peter Korsgaard
parent 84e52a60b4
commit e6365126e7
+7
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