From 6839e548a8e0a4a1fe612ab77c04593aabd519da Mon Sep 17 00:00:00 2001 From: Alexander Shursha Date: Mon, 9 Dec 2024 12:59:40 +0300 Subject: [PATCH] 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 --- meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 28f0df8ba77..e4b2cb4c1d6 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()