diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-20 18:29:49 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-20 22:28:01 +0200 |
commit | 56ddbf1009a16e2c2b063f3c3d41e1416b0fc17a (patch) | |
tree | 161737747d144bd5796a2552f1faaefa46d04bff /src/resolve/resolved-link.c | |
parent | Merge pull request #9350 from poettering/bls-fixes (diff) | |
download | systemd-56ddbf1009a16e2c2b063f3c3d41e1416b0fc17a.tar.xz systemd-56ddbf1009a16e2c2b063f3c3d41e1416b0fc17a.zip |
meson: make DNS-over-TLS support optional
This adds dns-over-tls option to meson. If set to 'false',
systemd-resolved is not linked with libgnutls.
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 30fd542be1..ff2be12415 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -353,9 +353,9 @@ void link_set_dns_over_tls_mode(Link *l, DnsOverTlsMode mode) { assert(l); -#if ! HAVE_GNUTLS +#if ! ENABLE_DNS_OVER_TLS if (mode != DNS_OVER_TLS_NO) - log_warning("DNS-over-TLS option for the link cannot be set to opportunistic when systemd-resolved is built without gnutls support. Turning off DNS-over-TLS support."); + log_warning("DNS-over-TLS option for the link cannot be set to opportunistic when systemd-resolved is built without DNS-over-TLS support. Turning off DNS-over-TLS support."); return; #endif |