diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-11-04 11:10:29 +0100 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2018-11-07 00:21:21 +0100 |
commit | 1ac495038261cef5d110e0ffd96bdb87ea02fefe (patch) | |
tree | 9e75c61fce483f57c38df436423b0c07726149f7 | |
parent | 55ae4bc4d3deb051a65785d6bac15c250912a34a (diff) | |
download | buildroot-1ac495038261cef5d110e0ffd96bdb87ea02fefe.tar.gz buildroot-1ac495038261cef5d110e0ffd96bdb87ea02fefe.zip |
wireshark: add lz4 optional dependency
- Optional dependency to lz4 has been added with version 2.4.0 and
https://github.com/wireshark/wireshark/commit/47649d1c7fb6ba48b805e19268a711404eb6908b
- 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>
-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 96cc15d185..f42dca1c86 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -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 |