From: Jordan Williams Date: Mon, 22 Apr 2024 19:35:50 +0000 (-0500) Subject: meson: Fix build by default and install behavior for build-pipesz option X-Git-Tag: v2.42-start~379^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cf8a7ac3a8038212c369bf5d05c74516b328a3a;p=thirdparty%2Futil-linux.git meson: Fix build by default and install behavior for build-pipesz option Signed-off-by: Jordan Williams --- 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']