From: Alexander Shursha Date: Mon, 9 Dec 2024 09:59:40 +0000 (+0300) Subject: meson: Fix checking options build-bits. X-Git-Tag: v2.42-start~101^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6839e548a8e0a4a1fe612ab77c04593aabd519da;p=thirdparty%2Futil-linux.git meson: Fix checking options build-bits. On FreeBSD run --auto-features=disabled -Dbuild-libblkid=enabled -Dprogram-tests=false builded bin/bits Sponsored by: Future Crew, LLC --- diff --git a/meson.build b/meson.build index 28f0df8ba..e4b2cb4c1 100644 --- a/meson.build +++ b/meson.build @@ -1215,11 +1215,12 @@ exe = executable( 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 += ['text-utils/bits.1.adoc'] -bashcompletions += ['bits'] + exes += exe + manadocs += ['text-utils/bits.1.adoc'] + bashcompletions += ['bits'] endif opt = not get_option('build-col').require(is_glibc).disabled()