[Lldb-commits] [lldb] [lldb] add terminfo name (PR #191740)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Apr 12 16:58:57 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: nataliakokoromyti
<details>
<summary>Changes</summary>
This PR just adds terminfo next to tinfo in FindCursesAndPanel.cmake since NetBSD uses libterminfo (see #<!-- -->191532).
---
Full diff: https://github.com/llvm/llvm-project/pull/191740.diff
1 Files Affected:
- (modified) lldb/cmake/modules/FindCursesAndPanel.cmake (+1-1)
``````````diff
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}>>")
``````````
</details>
https://github.com/llvm/llvm-project/pull/191740
More information about the lldb-commits
mailing list