]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: Make libmount optional 39878/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Nov 2025 14:33:26 +0000 (15:33 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 24 Nov 2025 15:23:10 +0000 (16:23 +0100)
commit5df44d0f6a1ba23b52b0c46a5e720f334f152ae5
tree31b0721bd16cd807f2cd184a3ca22672ae109adc
parent9c2cd0942032bc06fb70714f7c1faf1cd67e8ebc
core: Make libmount optional

Instead of skipping libcore entirely when libmount is not available,
let's only compile out the pieces that need libmount. This makes the
meson logic much less complex and allows systemd-analyze to be built
when libmount is not available.
src/core/meson.build
src/core/mount.c
src/shared/libmount-util.h
src/test/meson.build