aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-10-31 23:56:46 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-02 21:43:18 +0100
commit69c38e27a837f7a1e8b4d999c7f050dbc82e5900 (patch)
treead143b39c91c91609fd1e3a897ee0306b20b721e
parentfd29797f659c09cbc2aeba33f8d6f5b992e65cd4 (diff)
downloadbuildroot-69c38e27a837f7a1e8b4d999c7f050dbc82e5900.tar.gz
buildroot-69c38e27a837f7a1e8b4d999c7f050dbc82e5900.tar.bz2
package/wireshark: add libssh optional dependency
- Optional dependency to libssh has been added with version 2.2.1 and https://github.com/wireshark/wireshark/commit/d6da95231ee790fd884ca2a41fe59aa9b05ccde9 - 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: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/wireshark/wireshark.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index fb90f2b940..4569a86cb1 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -92,6 +92,13 @@ else
WIRESHARK_CONF_OPTS += --without-libnl
endif
+ifeq ($(BR2_PACKAGE_LIBSSH),y)
+WIRESHARK_CONF_OPTS += --with-libssh=$(STAGING_DIR)/usr
+WIRESHARK_DEPENDENCIES += libssh
+else
+WIRESHARK_CONF_OPTS += --without-libssh
+endif
+
ifeq ($(BR2_PACKAGE_SBC),y)
WIRESHARK_CONF_OPTS += --with-sbc=yes
WIRESHARK_DEPENDENCIES += sbc