diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-07-31 09:44:11 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-07-31 21:02:01 +0900 |
commit | 5a8b16409240bc95d95f3c19d6f5cd9366e6ccf4 (patch) | |
tree | 56ec64572991eddcd452f6f1aaf670d6fe00ce6a /src/resolve/meson.build | |
parent | 48e0e10ff5196a7b916c72af0107c39b55da2f66 (diff) | |
download | systemd-5a8b16409240bc95d95f3c19d6f5cd9366e6ccf4.tar.gz |
meson: drop parens when appending to list
Meson does not care either way, so let's use the simpler syntax. And files()
already gives a list, so nesting this in a list wouldn't be necessary even
if meson did not flatten everything.
Diffstat (limited to 'src/resolve/meson.build')
-rw-r--r-- | src/resolve/meson.build | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/resolve/meson.build b/src/resolve/meson.build index 6d03ebf7f4..bec29f7103 100644 --- a/src/resolve/meson.build +++ b/src/resolve/meson.build @@ -143,11 +143,13 @@ systemd_resolved_sources += [resolved_gperf_c, resolved_dnssd_gperf_c] systemd_resolved_dependencies = [threads, libgpg_error, libm, libidn] if conf.get('ENABLE_DNS_OVER_TLS') == 1 if conf.get('DNS_OVER_TLS_USE_GNUTLS') == 1 - systemd_resolved_sources += [files(['resolved-dnstls-gnutls.c', 'resolved-dnstls-gnutls.h'])] - systemd_resolved_dependencies += [libgnutls] + systemd_resolved_sources += files('resolved-dnstls-gnutls.c', + 'resolved-dnstls-gnutls.h') + systemd_resolved_dependencies += libgnutls elif conf.get('DNS_OVER_TLS_USE_OPENSSL') == 1 - systemd_resolved_sources += [files(['resolved-dnstls-openssl.c', 'resolved-dnstls-openssl.h'])] - systemd_resolved_dependencies += [libopenssl] + systemd_resolved_sources += files('resolved-dnstls-openssl.c', + 'resolved-dnstls-openssl.h') + systemd_resolved_dependencies += libopenssl else error('unknown dependency for supporting DNS-over-TLS') endif |