From: Zbigniew Jędrzejewski-Szmek Date: Tue, 19 Dec 2017 21:46:01 +0000 (+0100) Subject: meson: use a convenience lib for shared resolve files X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6bd304f2e64dfd50d54989d280ceb456613209ce;p=elogind.git meson: use a convenience lib for shared resolve files 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. --- 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,