[Lldb-commits] [lldb] 0a9bdc2 - [lldb] Fix linking to libtinfo (#69458)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 18 08:06:55 PDT 2023
Author: Harmen Stoppels
Date: 2023-10-18T16:06:50+01:00
New Revision: 0a9bdc276d2598d7525fa91bbf9cb663f1fde01a
URL: https://github.com/llvm/llvm-project/commit/0a9bdc276d2598d7525fa91bbf9cb663f1fde01a
DIFF: https://github.com/llvm/llvm-project/commit/0a9bdc276d2598d7525fa91bbf9cb663f1fde01a.diff
LOG: [lldb] Fix linking to libtinfo (#69458)
LLVM detects when ncurses has a separate terminfo library, but linking to it
was broken in lldb since b66339575a9b541e67ce5ad2ba7e88da07cf9305 (LLVM14)
due to a change of variables. This commit fixes that oversight.
Added:
Modified:
lldb/source/Core/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt
index d7b4f2587a98bf9..9073e3e9b2ee33d 100644
--- a/lldb/source/Core/CMakeLists.txt
+++ b/lldb/source/Core/CMakeLists.txt
@@ -12,7 +12,7 @@ set(LLDB_LIBEDIT_LIBS)
if (LLDB_ENABLE_CURSES)
list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES})
if(LLVM_ENABLE_TERMINFO)
- list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIB})
+ list(APPEND LLDB_CURSES_LIBS ${Terminfo_LIBRARIES})
endif()
if (LLVM_BUILD_STATIC)
list(APPEND LLDB_CURSES_LIBS gpm)
More information about the lldb-commits
mailing list