]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: create a static version of libshared and link libcore and some tests to it
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 9 Apr 2017 18:08:53 +0000 (14:08 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:27 +0000 (21:47 -0400)
commitf4ee10a2829e8b10f749de59b2885efb959e7ffa
tree6e4504bde6cf2645ccfc5026e1f3192e6c1253bf
parent6b30f2801b426dc8a48412f8fd3789fd84521407
meson: create a static version of libshared and link libcore and some tests to it

This is what autoconf-based build does, and it makes test-bus-error and
test-engine able to access the bus error mapping table. OTOH, this is a heavy
price to pay: it would be excellent to link libcore.a to libsystemd-shared-NNN.so.
Otherwise we duplicate the same code in 'systemd' and 'libsystemd-shared-NNN.so'.

-rwxrwxr-x. 1 4075544 Apr  6 20:30 systemd* <-- libcore linked against libsystemd-shared.so
-rwxrwxr-x. 1 5596504 Apr  9 14:07 systemd* <-- libcore linked against libsystemd-shared.a

v2:
- update for 6b5cf3ea621a5bfd218cd2249e066a52c0e73657
meson.build
src/core/meson.build
src/libsystemd/meson.build
src/shared/meson.build
src/test/meson.build