From 5cf8a7ac3a8038212c369bf5d05c74516b328a3a Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Mon, 22 Apr 2024 14:35:50 -0500 Subject: [PATCH] meson: Fix build by default and install behavior for build-pipesz option Signed-off-by: Jordan Williams --- meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 97229645c..4d1aebeb9 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'] -- 2.47.3