[Lldb-commits] [lldb] LLDB: fix linking to libtinfo (PR #69458)

via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 18 05:48:15 PDT 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Harmen Stoppels (haampie)

<details>
<summary>Changes</summary>

`TERMINFO_LIB` is defined nowhere

---
Full diff: https://github.com/llvm/llvm-project/pull/69458.diff


1 Files Affected:

- (modified) lldb/source/Core/CMakeLists.txt (+1-1) 


``````````diff
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)

``````````

</details>


https://github.com/llvm/llvm-project/pull/69458


More information about the lldb-commits mailing list