[Lldb-commits] [PATCH] D12900: Fix link failures when BUILD_SHARED_LIBS=ON.
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 16 03:51:36 PDT 2015
dsanders created this revision.
dsanders added a subscriber: lldb-commits.
http://reviews.llvm.org/D12900
Files:
tools/lldb-server/CMakeLists.txt
Index: tools/lldb-server/CMakeLists.txt
===================================================================
--- tools/lldb-server/CMakeLists.txt
+++ tools/lldb-server/CMakeLists.txt
@@ -26,10 +26,19 @@
LLDBServerUtilities.cpp
)
- target_link_libraries(lldb-server liblldb)
+ target_link_libraries(lldb-server liblldb dl)
if (HAVE_LIBPTHREAD)
target_link_libraries(lldb-server pthread)
endif ()
+ if (LIBXML2_FOUND)
+ target_link_libraries(lldb-server xml2)
+ endif()
+ if (NOT LLDB_DISABLE_LIBEDIT)
+ target_link_libraries(lldb-server edit)
+ endif()
+ if (NOT LLDB_DISABLE_CURSES)
+ target_link_libraries(lldb-server ncurses panel)
+ endif()
else()
add_lldb_executable(lldb-server
lldb-gdbserver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12900.34877.patch
Type: text/x-patch
Size: 750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150916/1a5c0d00/attachment.bin>
More information about the lldb-commits
mailing list