]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix plymouth support macro name
authorKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2026 12:21:31 +0000 (13:21 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Mar 2026 09:21:15 +0000 (10:21 +0100)
The source code (agetty.c, sulogin.c) checks for USE_PLYMOUTH_SUPPORT,
but meson defined ENABLE_PLYMOUTH_SUPPORT, silently disabling plymouth
support in meson builds.

Rename to USE_PLYMOUTH_SUPPORT to match autotools and source code.

Signed-off-by: Karel Zak <kzak@redhat.com>
meson.build

index cfc1fbb88182b5ed21ac6cca2b5f2a66e85ea5cb..a0c54aa0335ceed07a084ad0fe8b610f38a3fcf4 100644 (file)
@@ -899,7 +899,7 @@ build_plymouth_support = (not build_plymouth_support.disabled() and
                           have_sock_cloexec and
                           have_sock_nonblock and
                           have_so_passcred)
-conf.set('ENABLE_PLYMOUTH_SUPPORT', build_plymouth_support ? 1 : false)
+conf.set('USE_PLYMOUTH_SUPPORT', build_plymouth_support ? 1 : false)
 summary('plymouth support',
         build_plymouth_support  ? 'enabled' : 'disabled',
         section : 'components')