From f64a59ba25004e3c9da8a9d2ad8b09c935eae693 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 14 Sep 2017 13:55:51 +0200 Subject: [PATCH] curl: enable 'ares' build time option This is required to use '--dns-interface' runtime parameter to instruct 'curl' to use a specific interface for DNS resolution. We need this in the context of the network failover support, where NetworkManager does the connectivity check, by trying to connect to a configured URL through the different interfaces available, and for this check it uses 'libcurl' underneath. If you try to use this functionality without this build time option enabled, you get: curl: (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. https://jira.digi.com/browse/DEL-4787 Signed-off-by: Javier Viguera --- meta-digi-dey/recipes-support/curl/curl_7.50.1.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-digi-dey/recipes-support/curl/curl_7.50.1.bbappend diff --git a/meta-digi-dey/recipes-support/curl/curl_7.50.1.bbappend b/meta-digi-dey/recipes-support/curl/curl_7.50.1.bbappend new file mode 100644 index 000000000..29bf61f82 --- /dev/null +++ b/meta-digi-dey/recipes-support/curl/curl_7.50.1.bbappend @@ -0,0 +1,6 @@ +# Copyright (C) 2017 Digi International Inc. + +# 'ares' and 'threaded-resolver' are mutually exclusive +PACKAGECONFIG_append_class-target = " ares" +PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares" +PACKAGECONFIG[threaded-resolver] = "--enable-threaded-resolver,--disable-threaded-resolver,"