]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Still build libshared even if libmount is disabled 39871/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Nov 2025 09:57:58 +0000 (10:57 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Nov 2025 12:09:41 +0000 (13:09 +0100)
commit7336f2c748fd37a60a3f5353ad198c1534d6cb5f
tree1d478bc9bd0d8ef292b6946bf364f253d06e679f
parente910f9bc63356ccaca6d87bd62fd79d36b1cccd4
meson: Still build libshared even if libmount is disabled

Currently, if the libmount feature is disabled, we don't build
libshared and as a result skip building every other executable as
well. Among other things, this makes our nodeps CI builds kind of
pointless since hardly any code will be compiled.

Let's improve on the situation by making libmount properly optional
in libshared. Then, we only skip building the executables that
actually need libmount.
16 files changed:
meson.build
src/core/meson.build
src/creds/meson.build
src/cryptsetup/meson.build
src/fstab-generator/meson.build
src/mount/meson.build
src/remount-fs/meson.build
src/shared/fstab-util.c
src/shared/libmount-util.c
src/shared/libmount-util.h
src/shared/mount-util.c
src/shutdown/meson.build
src/test/meson.build
src/test/test-dlopen-so.c
test/meson.build
tools/update-dbus-docs.py