From c27a25403b9bb1a870fb4b8e45ccd2cf5f2daba8 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 2 Dec 2015 17:48:17 -0300 Subject: [PATCH] wireshark: add optional c-ares support Signed-off-by: Gustavo Zacarias Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- package/wireshark/wireshark.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index d60f3b4d3b..2940d2656e 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -57,6 +57,13 @@ ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_QT5BASE_WIDGETS) WIRESHARK_CONF_OPTS += --disable-wireshark endif +ifeq ($(BR2_PACKAGE_C_ARES),y) +WIRESHARK_CONF_OPTS += --with-c-ares=$(STAGING_DIR)/usr +WIRESHARK_DEPENDENCIES += c-ares +else +WIREHARK_CONF_OPTS += --without-c-ares +endif + ifeq ($(BR2_PACKAGE_LIBNL),y) WIRESHARK_CONF_OPTS += --with-libnl WIRESHARK_DEPENDENCIES += libnl -- 2.30.2