diff options
author | Karel Zak <kzak@redhat.com> | 2024-04-15 08:55:47 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2024-04-15 08:55:47 +0200 |
commit | 281da283b460d0e5c5aaa85489f03efafd662e8d (patch) | |
tree | 947d3b1013cc396cd404e3d846b33b94caa6fa4d | |
parent | dbfd5efe46b9cea13c3703b12e14cee377859b92 (diff) | |
parent | d632e5dac56a61bc5acdb037b1682a3d27557242 (diff) | |
download | util-linux-281da283b460d0e5c5aaa85489f03efafd662e8d.tar.gz |
Merge branch 'tinfo-disabler' of https://github.com/jwillikers/util-linux
* 'tinfo-disabler' of https://github.com/jwillikers/util-linux:
meson: Make ncurses dependency a disabler when not found
meson: Make tinfo dependency a disabler when not found
-rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 21822f0bd4..8355457649 100644 --- a/meson.build +++ b/meson.build @@ -246,6 +246,7 @@ lib_m = cc.find_library('m') lib_tinfo = dependency( 'tinfo', + disabler : true, required : get_option('tinfo')) lib_ncursesw = dependency( @@ -260,6 +261,7 @@ if lib_ncursesw.found() else lib_ncurses = dependency( 'ncurses', + disabler : true, required : get_option('ncurses')) headers += ['ncurses.h', 'term.h'] |