meson: fix building with -Ddns-over-tls=false
Assigning multiple variables in one line is no valid meson syntax. Without this running meson with -Ddns-over-tls=false fails with: meson.build:1191:8: ERROR: Tried to assign an invalid value to variable.
This commit is contained in:
parent
5996740a09
commit
be5536a6af
|
@ -1188,7 +1188,9 @@ if dns_over_tls != 'false'
|
||||||
endif
|
endif
|
||||||
have = have_gnutls or have_openssl
|
have = have_gnutls or have_openssl
|
||||||
else
|
else
|
||||||
have = have_gnutls = have_openssl = false
|
have = false
|
||||||
|
have_gnutls = false
|
||||||
|
have_openssl = false
|
||||||
endif
|
endif
|
||||||
conf.set10('ENABLE_DNS_OVER_TLS', have)
|
conf.set10('ENABLE_DNS_OVER_TLS', have)
|
||||||
conf.set10('DNS_OVER_TLS_USE_GNUTLS', have_gnutls)
|
conf.set10('DNS_OVER_TLS_USE_GNUTLS', have_gnutls)
|
||||||
|
|
Loading…
Reference in a new issue