Skip to content

Commit 0a9bdc2

Browse files
authored
[lldb] Fix linking to libtinfo (#69458)
LLVM detects when ncurses has a separate terminfo library, but linking to it was broken in lldb since b663395 (LLVM14) due to a change of variables. This commit fixes that oversight.
1 parent 1b93e15 commit 0a9bdc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set(LLDB_LIBEDIT_LIBS)
1212
if (LLDB_ENABLE_CURSES)
1313
list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES})
1414
if(LLVM_ENABLE_TERMINFO)
15-
list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIB})
15+
list(APPEND LLDB_CURSES_LIBS ${Terminfo_LIBRARIES})
1616
endif()
1717
if (LLVM_BUILD_STATIC)
1818
list(APPEND LLDB_CURSES_LIBS gpm)

0 commit comments

Comments
 (0)