[Buildroot] [git commit branch/2018.02.x] package/wireshark: add libssh optional dependency
Peter Korsgaard
peter at korsgaard.com
Wed Jan 23 14:37:15 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=eba8328652804b019782ff765101f1d62a8ca845
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.02.x
- 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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 69c38e27a837f7a1e8b4d999c7f050dbc82e5900)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/wireshark/wireshark.mk | 7 +++++++
1 file changed, 7 insertions(+)
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
More information about the buildroot
mailing list