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

Harmen Stoppels via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 18 05:47:03 PDT 2023


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

None

>From 69f81114712171f09d859a15324b061181f5a72c Mon Sep 17 00:00:00 2001
From: Harmen Stoppels <harmenstoppels at gmail.com>
Date: Wed, 18 Oct 2023 14:42:29 +0200
Subject: [PATCH] LLDB: fix linking to libtinfo

---
 lldb/source/Core/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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