wireshark: add lz4 optional dependency

- Optional dependency to lz4 has been added with version 2.4.0 and
  47649d1c7f
- Specify the path to found lz4 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>
This commit is contained in:
Fabrice Fontaine 2018-11-04 11:10:29 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 55ae4bc4d3
commit 1ac4950382

View File

@ -16,7 +16,6 @@ WIRESHARK_CONF_ENV = \
WIRESHARK_CONF_OPTS = \
--enable-static=no \
--without-lz4 \
--without-snappy \
--with-libsmi=no \
--with-pcap=$(STAGING_DIR)/usr
@ -115,6 +114,13 @@ else
WIRESHARK_CONF_OPTS += --without-lua
endif
ifeq ($(BR2_PACKAGE_LZ4),y)
WIRESHARK_CONF_OPTS += --with-lz4=$(STAGING_DIR)/usr
WIRESHARK_DEPENDENCIES += lz4
else
WIRESHARK_CONF_OPTS += --without-lz4
endif
ifeq ($(BR2_PACKAGE_NGHTTP2),y)
WIRESHARK_CONF_OPTS += --with-nghttp2=$(STAGING_DIR)/usr
WIRESHARK_DEPENDENCIES += nghttp2