Skip to content

Commit

Permalink
meson: Fix checking options build-bits.
Browse files Browse the repository at this point in the history
On FreeBSD run --auto-features=disabled -Dbuild-libblkid=enabled
-Dprogram-tests=false

builded bin/bits

Sponsored by: Future Crew, LLC
  • Loading branch information
Alexander Shursha committed Dec 29, 2024
1 parent 874ab9e commit 6839e54
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6839e54

Please sign in to comment.