diff options
author | Jordan Williams <jordan@jwillikers.com> | 2024-04-22 14:35:50 -0500 |
---|---|---|
committer | Jordan Williams <jordan@jwillikers.com> | 2024-04-24 15:30:31 -0500 |
commit | 5cf8a7ac3a8038212c369bf5d05c74516b328a3a (patch) | |
tree | bc7f03f80a3580f3d2a38c98a82b6551ef04c7c2 | |
parent | 3ba934c9c411795cca50e55cb3fc1309c3469827 (diff) | |
download | util-linux-5cf8a7ac3a8038212c369bf5d05c74516b328a3a.tar.gz |
meson: Fix build by default and install behavior for build-pipesz option
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
-rw-r--r-- | meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 97229645c2..4d1aebeb9e 100644 --- a/meson.build +++ b/meson.build @@ -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'] |