summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-12-19 22:46:01 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:49:48 +0200
commit6bd304f2e64dfd50d54989d280ceb456613209ce (patch)
tree23d9c40701394c4c11d0320cd3617c8fea2b4c86
parent70f9a30a6058ba92d0b93da00727cf76c1592633 (diff)
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.
-rw-r--r--meson.build6
1 files 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,