From: Gustavo Zacarias Date: Wed, 2 Dec 2015 20:48:17 +0000 (-0300) Subject: wireshark: add optional c-ares support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c27a25403b9bb1a870fb4b8e45ccd2cf5f2daba8;p=buildroot.git wireshark: add optional c-ares support Signed-off-by: Gustavo Zacarias Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- 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