[Lldb-commits] [lldb] [lldb] add terminfo name (PR #191740)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 12 16:58:22 PDT 2026
https://github.com/nataliakokoromyti created https://github.com/llvm/llvm-project/pull/191740
This PR just adds terminfo next to tinfo in FindCursesAndPanel.cmake since NetBSD uses libterminfo (see #191532).
>From d735889d16e2293f43c40d521e8b5b6fff7aa571 Mon Sep 17 00:00:00 2001
From: nataliakokoromyti <nataliakokoromyti at gmail.com>
Date: Sun, 12 Apr 2026 16:25:34 -0700
Subject: [PATCH] [lldb] add terminfo name
---
lldb/cmake/modules/FindCursesAndPanel.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/cmake/modules/FindCursesAndPanel.cmake b/lldb/cmake/modules/FindCursesAndPanel.cmake
index 8628059f91ba1..5e13a1b79ecf9 100644
--- a/lldb/cmake/modules/FindCursesAndPanel.cmake
+++ b/lldb/cmake/modules/FindCursesAndPanel.cmake
@@ -40,7 +40,7 @@ else()
CURSES_HAS_TINFO)
if(NOT CURSES_HAS_TINFO)
message(STATUS "curses library missing terminfo symbols, looking for tinfo separately")
- find_library(TINFO_LIBRARIES NAMES tinfo DOC "The curses tinfo library" QUIET)
+ find_library(TINFO_LIBRARIES NAMES tinfo terminfo DOC "The curses tinfo library" QUIET)
list(APPEND CURSES_LIBRARIES "${TINFO_LIBRARIES}")
endif()
set(HAS_TERMINFO_SYMBOLS "$<OR:$<BOOL:${TERMINFO_LIBRARIES}>,$<BOOL:${CURSES_HAS_TINFO}>>")
More information about the lldb-commits
mailing list