]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: use a convenience static library for nspawn core
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 May 2018 08:37:11 +0000 (10:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 May 2018 08:40:00 +0000 (10:40 +0200)
commit97d90615631d80b95251f163c47d9e4e337ad8d8
treec6921365711a53ed0064534fb48687156341bdc7
parent018eaf7445e4059b622ea6743c9d2eb367238925
meson: use a convenience static library for nspawn core

This makes it easier to link the nspawn implementation to the tests.
Right now this just means that nspawn-patch-uid.c is not compiled
twice, which is nice, but results in test-patch-uid being slightly bigger,
which is not nice. But in general, we should use convenience libs to
compile everything just once, as far as possible. Otherwise, once we
start compiling a few files here twice, and a few file there thrice, we
soon end up in a state where we are doing hundreds of extra compilations.
So let's do the "right" thing, even if is might not be more efficient.
meson.build
src/nspawn/meson.build