]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: Fix build by default and install behavior for build-pipesz option
authorJordan Williams <jordan@jwillikers.com>
Mon, 22 Apr 2024 19:35:50 +0000 (14:35 -0500)
committerJordan Williams <jordan@jwillikers.com>
Wed, 24 Apr 2024 20:30:31 +0000 (15:30 -0500)
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
meson.build

index 97229645c2272e059152dec556887cfffac7decb..4d1aebeb9eec115d813f49e6cdd619aa582eed60 100644 (file)
@@ -3096,14 +3096,15 @@ if not is_disabler(exe)
   bashcompletions += ['hardlink']
 endif
 
-opt = not get_option('build-pipesz').disabled()
+opt = get_option('build-pipesz').allowed()
 exe = executable(
   'pipesz',
   pipesz_sources,
   include_directories : includes,
   link_with : [lib_common],
   install_dir : usrbin_exec_dir,
-  install : true)
+  install : opt,
+  build_by_default : opt)
 if opt and not is_disabler(exe)
   exes += exe
   manadocs += ['misc-utils/pipesz.1.adoc']