From: Jordan Williams Date: Mon, 8 Apr 2024 15:28:02 +0000 (-0500) Subject: meson: Make tinfo dependency a disabler when not found X-Git-Tag: v2.42-start~421^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f931ae8bd9441cbf6c825482797a328f1877298;p=thirdparty%2Futil-linux.git meson: Make tinfo dependency a disabler when not found This disables targets that require tinfo when it is not found. Currently, targets requiring tinfo are built when it is not found. Fixes #2927. Signed-off-by: Jordan Williams --- diff --git a/meson.build b/meson.build index 21822f0bd..4acc53c69 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(