summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-04 17:33:47 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-19 07:04:19 +0900
commit4fc47fa82a8b908dc31f618687001f0315f0da4f (patch)
treec2c248bdae6cde0739976460fa4c7bf7140bc543 /src
parent7087e4729f684217fd0eb55154588e9309137e05 (diff)
downloadsystemd-4fc47fa82a8b908dc31f618687001f0315f0da4f.tar.gz
meson: drop unnecessary variable declarations
Diffstat (limited to 'src')
-rw-r--r--src/resolve/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resolve/meson.build b/src/resolve/meson.build
index 25782606b5..6cd62b848e 100644
--- a/src/resolve/meson.build
+++ b/src/resolve/meson.build
@@ -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