wireshark: add optional c-ares support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 2 Dec 2015 20:48:17 +0000 (17:48 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 3 Dec 2015 21:37:26 +0000 (22:37 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/wireshark/wireshark.mk

index d60f3b4d3b874c72e53398527357d5ef35956bb9..2940d2656eaca8531318d766b1f7dda8c49fd424 100644 (file)
@@ -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