]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: fix disablement check
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Feb 2024 12:14:37 +0000 (13:14 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 13 Feb 2024 19:20:45 +0000 (20:20 +0100)
opt is not defined for those programs.

(cherry picked from commit 765961c32a764052955655838f8a99450876500b)

meson.build

index 5a3806cf8e9f0803a7aef0b7cdd0f5b3c60e1147..539c715ca678cbb9a1f372d0868618df0b8add0f 100644 (file)
@@ -2098,7 +2098,7 @@ exe = executable(
   dependencies: [lib_selinux],
   install_dir : sbindir,
   install : true)
-if opt and not is_disabler(exe)
+if not is_disabler(exe)
   exes += exe
   manadocs += ['disk-utils/mkswap.8.adoc']
   bashcompletions += ['mkswap']
@@ -2113,7 +2113,7 @@ exe = executable(
                lib_uuid],
   install_dir : sbindir,
   install : true)
-if opt and not is_disabler(exe)
+if not is_disabler(exe)
   exes += exe
   manadocs += ['disk-utils/swaplabel.8.adoc']
   bashcompletions += ['swaplabel']