projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5996740
)
meson: fix building with -Ddns-over-tls=false
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Sun, 11 Nov 2018 10:30:53 +0000
(11:30 +0100)
committer
Michael Olbrich
<m.olbrich@pengutronix.de>
Sun, 11 Nov 2018 10:31:53 +0000
(11:31 +0100)
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.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
78be291
..
d3cea0c
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-1188,7
+1188,9
@@
if dns_over_tls != 'false'
endif
have = have_gnutls or have_openssl
else
- have = have_gnutls = have_openssl = false
+ have = false
+ have_gnutls = false
+ have_openssl = false
endif
conf.set10('ENABLE_DNS_OVER_TLS', have)
conf.set10('DNS_OVER_TLS_USE_GNUTLS', have_gnutls)