aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-11-01 13:05:58 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-11-01 15:59:37 +0100
commit105004f72acb56e86a778deb9c33eced3173db14 (patch)
tree6b1e06b005b3598490258a6ef22e6355c0a0cbae
parent391f32aed27a6e5a060494771b049760fde24d78 (diff)
downloadbuildroot-105004f72acb56e86a778deb9c33eced3173db14.tar.gz
buildroot-105004f72acb56e86a778deb9c33eced3173db14.tar.bz2
package/wireshark: add zstd optional dependency
zstd is available since version 3.1.1 and is enabled by default: https://github.com/wireshark/wireshark/commit/ad94c4d459d243c0cbbb9b222d5f7cdf8189ab86 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/wireshark/wireshark.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index 0bcb97606a..0d4fedb3f0 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -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