]> 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>
Thu, 25 Apr 2024 12:30:56 +0000 (07:30 -0500)
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
(cherry picked from commit 5cf8a7ac3a8038212c369bf5d05c74516b328a3a)

meson.build

index 621ff710ca87a5583510f5cb58b122b6fb37e216..7c4fac1e73defc3cc11ac0b3e59c0882ae5dbe29 100644 (file)
@@ -3035,14 +3035,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']