summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/curl
diff options
context:
space:
mode:
authorJavier Viguera <javier.viguera@digi.com>2017-09-20 18:28:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 13:44:52 +0000
commit4fe0aa3791db0ee6c85e7a068f69def6e7c0da46 (patch)
treeb193f090b7cff46e4daaceb9be6b83b75315da8c /meta/recipes-support/curl
parentcf25d927b2deadc11688b9dab2c366eaa57c54e6 (diff)
downloadopenembedded-core-4fe0aa3791db0ee6c85e7a068f69def6e7c0da46.tar.gz
openembedded-core-4fe0aa3791db0ee6c85e7a068f69def6e7c0da46.tar.bz2
openembedded-core-4fe0aa3791db0ee6c85e7a068f69def6e7c0da46.zip
curl: add 'enable-ares' packageconfig option
This build time option is needed to use the '--dns-interface' runtime parameter to instruct 'curl' to use a specific interface for DNS resolution. Not enabled by default, as it depends on 'c-ares' package from meta-openembedded (meta-networking). Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r--meta/recipes-support/curl/curl_7.54.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.54.1.bb b/meta/recipes-support/curl/curl_7.54.1.bb
index 04aeee72d1..cf230ed0d4 100644
--- a/meta/recipes-support/curl/curl_7.54.1.bb
+++ b/meta/recipes-support/curl/curl_7.54.1.bb
@@ -27,6 +27,8 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls prox
PACKAGECONFIG_class-native = "ipv6 proxy ssl threaded-resolver zlib"
PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl threaded-resolver zlib"
+# 'ares' and 'threaded-resolver' are mutually exclusive
+PACKAGECONFIG[ares] = "--enable-ares,--disable-ares,c-ares"
PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"