]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: drop three more single-use convenience libraries 21786/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Dec 2021 10:51:08 +0000 (11:51 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Dec 2021 10:51:40 +0000 (11:51 +0100)
commitc01543fdd53ea452566ed80643c96eae9fec3726
tree6060b081f1d05b090218bf2bfee5d3ae9ca93bdf
parent3a4524116a130fb728bc52fa7ebf70c45fba79c7
meson: drop three more single-use convenience libraries

The way that the cryptsetup plugins were built was unnecessarilly complicated.
We would build three static libraries that would then be linked into dynamic
libraries. No need to do this.

While at it, let's use a convenience library to avoid compiling the shared code
more than once.

We want the output .so files to be located in the main build directory,
like with all consumable build artifacts, so we need to maintain the split
between src/cryptsetup/cryptsetup-token/meson.build and the main meson.build
file.

AFAICT, the build artifacts are the same: exported and undefined symbols are
identical. There is a tiny difference in size, but I think it might be caused
by a different build directory name.
meson.build
src/cryptsetup/cryptsetup-tokens/meson.build