summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/wireshark/wireshark.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index a141ca3e2a..39a3060149 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -18,7 +18,6 @@ WIRESHARK_CONF_OPTS = \
--enable-static=no \
--without-bcg729 \
--without-lz4 \
- --without-nghttp2 \
--without-snappy \
--with-libsmi=no \
--with-pcap=$(STAGING_DIR)/usr
@@ -110,6 +109,13 @@ else
WIRESHARK_CONF_OPTS += --without-lua
endif
+ifeq ($(BR2_PACKAGE_NGHTTP2),y)
+WIRESHARK_CONF_OPTS += --with-nghttp2=$(STAGING_DIR)/usr
+WIRESHARK_DEPENDENCIES += nghttp2
+else
+WIRESHARK_CONF_OPTS += --without-nghttp2
+endif
+
ifeq ($(BR2_PACKAGE_SBC),y)
WIRESHARK_CONF_OPTS += --with-sbc=yes
WIRESHARK_DEPENDENCIES += sbc
OpenPOWER on IntegriCloud