]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: drop unnecessary variable declarations
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 4 Jan 2021 08:33:47 +0000 (17:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 18 Jan 2021 22:04:19 +0000 (07:04 +0900)
src/resolve/meson.build

index 25782606b555ba553170784e621dd59179dec0e0..6cd62b848e24da63138adea14419fd18ee5a95b7 100644 (file)
@@ -116,20 +116,18 @@ libsystemd_resolve_core = static_library(
         basic_dns_sources,
         include_directories : includes)
 
-resolved_gperf_c = custom_target(
+systemd_resolved_sources += custom_target(
         'resolved_gperf.c',
         input : 'resolved-gperf.gperf',
         output : 'resolved-gperf.c',
         command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
 
-resolved_dnssd_gperf_c = custom_target(
+systemd_resolved_sources += custom_target(
         'resolved_dnssd_gperf.c',
         input : 'resolved-dnssd-gperf.gperf',
         output : 'resolved-dnssd-gperf.c',
         command : [gperf, '@INPUT@', '--output-file', '@OUTPUT@'])
 
-systemd_resolved_sources += [resolved_gperf_c, resolved_dnssd_gperf_c]
-
 systemd_resolved_dependencies = [threads, libgpg_error, libm]
 if conf.get('ENABLE_DNS_OVER_TLS') == 1
         if conf.get('DNS_OVER_TLS_USE_GNUTLS') == 1