[oe-commits] [openembedded-core] 12/122: curl: add 'enable-ares' packageconfig option

git at git.openembedded.org git at git.openembedded.org
Mon Dec 4 17:24:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit 8f3d34217b5b95f1f159c362c6f5dad3ba4fb290
Author: Javier Viguera <javier.viguera at digi.com>
AuthorDate: Wed Sep 20 18:28:56 2017 +0200

    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 at digi.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    (cherry picked from commit 4fe0aa3791db0ee6c85e7a068f69def6e7c0da46)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-support/curl/curl_7.54.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.54.1.bb b/meta/recipes-support/curl/curl_7.54.1.bb
index 04aeee7..cf230ed 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,"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list