diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-12-19 19:38:43 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:49:48 +0200 |
commit | d86cd5bf77ef02fd5825ecccb64dc64ea6e5d4e3 (patch) | |
tree | 24828a19cbdc974229d7337cf19ec1bc7c141754 /src/shared/meson.build | |
parent | cba4e27941fef3c0b170792f6ec0cba019d36734 (diff) |
meson: use a convenience lib for journal user sources
Instead of compiling those files twice, once for libsystemd and once for
libshared, compile once as a static archive and then link into both.
This reduce the meson target for man=no compile to 1291.
Diffstat (limited to 'src/shared/meson.build')
-rw-r--r-- | src/shared/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/meson.build b/src/shared/meson.build index 89f11a51c..de1a98f12 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -201,7 +201,6 @@ libshared_static = static_library( libshared = shared_library( libshared_name, #if 0 /// UNNEEDED by elogind -# journal_internal_sources, # libudev_sources, # include_directories : includes, # link_args : ['-shared', @@ -209,7 +208,8 @@ libshared = shared_library( # link_whole : [libshared_static, # libbasic, # libbasic_gcrypt, -# libsystemd_static], +# libsystemd_static, +# libjournal_client], #else libelogind_internal_sources, #endif // 0 |