meson: Add libmount feature

Let's reduce the dependencies required to build just libsystemd by
making libmount optional. The meson disabler feature makes this quite
trivial.
This commit is contained in:
Daan De Meyer
2025-06-05 14:51:03 +02:00
parent 6315106268
commit d1ee3889cf
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -470,6 +470,8 @@ option('dbus', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'd
description : 'libdbus support (for tests only)')
option('libarchive', type : 'feature',
description : 'libarchive support')
option('libmount', type : 'feature',
description : 'libmount support')
option('bootloader', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
description : 'sd-boot/stub and userspace tools')