package/wireshark: add zstd optional dependency

zstd is available since version 3.1.1 and is enabled by default:
ad94c4d459

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 105004f72a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020.08.x
Fabrice Fontaine 2020-11-01 13:05:58 +01:00 committed by Peter Korsgaard
parent 2a63d580b1
commit 52c315baf7
1 changed files with 7 additions and 0 deletions

View File

@ -155,6 +155,13 @@ else
WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=OFF
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=ON
WIRESHARK_DEPENDENCIES += zstd
else
WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=OFF
endif
# Disable plugins as some of them (like l16mono) can't be built
# statically. ENABLE_STATIC=ON actually means "disable shared library"
# and ENABLE_STATIC=OFF means "enable shared library". So for the