chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit374e03131279877934c5a919dcee4b8aae11cc16
treedb4a7a2de4dd2a77d778b0c8463ccb74bbfcf58d
parentc5051c2fdb95adf81d25af05eb4a8851f041b5f5
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