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.
This commit is contained in:
committed by
Yu Watanabe
parent
48e0e10ff5
commit
5a8b164092
@@ -147,10 +147,10 @@ if have_gnu_efi
|
||||
+ compile_args,
|
||||
depend_files : efi_headers)
|
||||
if (common_sources + systemd_boot_sources).contains(file)
|
||||
systemd_boot_objects += [o_file]
|
||||
systemd_boot_objects += o_file
|
||||
endif
|
||||
if (common_sources + stub_sources).contains(file)
|
||||
stub_objects += [o_file]
|
||||
stub_objects += o_file
|
||||
endif
|
||||
endforeach
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -106,7 +106,7 @@ shared_sources = files('''
|
||||
'''.split())
|
||||
|
||||
test_tables_h = files('test-tables.h')
|
||||
shared_sources += [test_tables_h]
|
||||
shared_sources += test_tables_h
|
||||
|
||||
if conf.get('HAVE_ACL') == 1
|
||||
shared_sources += files('acl-util.c')
|
||||
|
||||
Reference in New Issue
Block a user