diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-11-04 11:10:27 +0100 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-11-07 00:13:34 +0100 |
commit | c859af7c83f9a9e8d88bfd6ee5a3c39203696298 (patch) | |
tree | 48665840dd226de5462b42d4ed7a19c156cd1714 | |
parent | 7d7d57560c5fec9f8932a7084ac48e5d9e95d64d (diff) | |
download | buildroot-c859af7c83f9a9e8d88bfd6ee5a3c39203696298.tar.gz buildroot-c859af7c83f9a9e8d88bfd6ee5a3c39203696298.zip |
wireshark: add nghttp2 optional dependency
- Embedded nghttp2 code has been removed and an optional dependency to
nghttp2 has been added with version 2.4.0 and
https://github.com/wireshark/wireshark/commit/b1cc056b12702435f6ebdc6ba0a8e17a41e159a0
- Specify the path to found nghttp2 as this is done for other options
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r-- | package/wireshark/wireshark.mk | 8 |
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 |