mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
wireshark: add snappy optional dependency
- Optional dependency to snappy has been added with version 2.4.0 and
47649d1c7f
- Specify the path to found libssh 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:
parent
1ac4950382
commit
7cd1baf25b
@ -16,7 +16,6 @@ WIRESHARK_CONF_ENV = \
|
|||||||
|
|
||||||
WIRESHARK_CONF_OPTS = \
|
WIRESHARK_CONF_OPTS = \
|
||||||
--enable-static=no \
|
--enable-static=no \
|
||||||
--without-snappy \
|
|
||||||
--with-libsmi=no \
|
--with-libsmi=no \
|
||||||
--with-pcap=$(STAGING_DIR)/usr
|
--with-pcap=$(STAGING_DIR)/usr
|
||||||
|
|
||||||
@ -135,6 +134,13 @@ else
|
|||||||
WIRESHARK_CONF_OPTS += --with-sbc=no
|
WIRESHARK_CONF_OPTS += --with-sbc=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
||||||
|
WIRESHARK_CONF_OPTS += --with-snappy=$(STAGING_DIR)/usr
|
||||||
|
WIRESHARK_DEPENDENCIES += snappy
|
||||||
|
else
|
||||||
|
WIRESHARK_CONF_OPTS += --without-snappy
|
||||||
|
endif
|
||||||
|
|
||||||
define WIRESHARK_REMOVE_DOCS
|
define WIRESHARK_REMOVE_DOCS
|
||||||
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
|
find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \
|
||||||
-o -name '*.html' -print0 | xargs -0 rm -f
|
-o -name '*.html' -print0 | xargs -0 rm -f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user