diff options
author | Jordan Williams <jordan@jwillikers.com> | 2024-04-08 10:42:00 -0500 |
---|---|---|
committer | Jordan Williams <jordan@jwillikers.com> | 2024-04-10 07:13:14 -0500 |
commit | d632e5dac56a61bc5acdb037b1682a3d27557242 (patch) | |
tree | 18ada5ffbd835c03995d7b69f6e8e538fb0e489f | |
parent | 5f931ae8bd9441cbf6c825482797a328f1877298 (diff) | |
download | util-linux-d632e5dac56a61bc5acdb037b1682a3d27557242.tar.gz |
meson: Make ncurses dependency a disabler when not found
This disables targets that require ncurses when it is not found.
Currently, targets requiring ncurses are built when it is not found.
Fixes #2929.
Signed-off-by: Jordan Williams <jordan@jwillikers.com>
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 4acc53c69a..8355457649 100644 --- a/meson.build +++ b/meson.build @@ -261,6 +261,7 @@ if lib_ncursesw.found() else lib_ncurses = dependency( 'ncurses', + disabler : true, required : get_option('ncurses')) headers += ['ncurses.h', 'term.h'] |