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 <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-09-14 13:55:51 +02:00
parent 4320f0574f
commit f64a59ba25
1 changed files with 6 additions and 0 deletions

View File

@ -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,"