Commit 796ab5f3 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

wireshark: add optional gnutls support

parent 43e894d2
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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