From 5f931ae8bd9441cbf6c825482797a328f1877298 Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Mon, 8 Apr 2024 10:28:02 -0500 Subject: [PATCH] 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 --- meson.build | 1 + 1 file changed, 1 insertion(+) 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( -- 2.47.3