From 6bd304f2e64dfd50d54989d280ceb456613209ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 19 Dec 2017 22:46:01 +0100 Subject: [PATCH] meson: use a convenience lib for shared resolve files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reduces the man=false meson target count from 1281 to 1253. -- A fully scientific test: git grep _sources, :/*.build|cut -d: -f2|tr -d ' '|sort|uniq -c reveals that libudev_sources is the only source list now reused twice. There's some ugly circular dependency between libudev and libshared, and anyway I'm not sure if we don't want to use different compilation options (LOG_REALM_…) in those two cases, so I'm leaving that alone for now. --- meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index e8e82ec27..b1029434c 100644 --- a/meson.build +++ b/meson.build @@ -1715,7 +1715,8 @@ test_dlopen = executable( # systemd_resolved_sources, # include_directories : includes, # link_with : [libshared, -# libbasic_gcrypt], +# libbasic_gcrypt, +# libsystemd_resolve_core], # dependencies : [threads, # libgpg_error, # libm, @@ -1728,7 +1729,8 @@ test_dlopen = executable( # systemd_resolve_sources, # include_directories : includes, # link_with : [libshared, -# libbasic_gcrypt], +# libbasic_gcrypt, +# libsystemd_resolve_core], # dependencies : [threads, # libgpg_error, # libm, -- 2.30.2