mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
[lldb] Fix linking to libtinfo (#69458)
LLVM detects when ncurses has a separate terminfo library, but linking to it
was broken in lldb since b66339575a (LLVM14)
due to a change of variables. This commit fixes that oversight.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user