chiark / gitweb /
meson: use a convenience lib for shared resolve files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 19 Dec 2017 21:46:01 +0000 (22:46 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:48 +0000 (07:49 +0200)
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

index e8e82ec27fd5a0c0f7f5a3d4e0df29777a6876d1..b1029434c5a2badeeb42efd59b5831c6d1248dcb 100644 (file)
@@ -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,