From 796ab5f36e3f66e83c17c373820f83b4abfe4e45 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 2 Dec 2015 17:48:19 -0300 Subject: [PATCH] wireshark: add optional gnutls support Signed-off-by: Gustavo Zacarias Reviewed-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index cc9fb415b3..0bc780172c 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -22,7 +22,6 @@ WIRESHARK_CONF_OPTS = \ --without-krb5 \ --disable-usr-local \ --enable-static=no \ - --with-gnutls=no \ --with-libsmi=no \ --with-lua=no \ --includedir=$(STAGING_DIR)/usr/include @@ -63,6 +62,13 @@ else WIREHARK_CONF_OPTS += --without-c-ares endif +ifeq ($(BR2_PACKAGE_GNUTLS),y) +WIRESHARK_CONF_OPTS += --with-gnutls=yes +WIRESHARK_DEPENDENCIES += gnutls +else +WIRESHARK_CONF_OPTS += --with-gnutls=no +endif + ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config WIRESHARK_CONF_OPTS += --with-gcrypt=yes -- 2.30.2