[Lldb-commits] [PATCH] D12900: Fix link failures when BUILD_SHARED_LIBS=ON.
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 05:44:24 PDT 2015
dsanders updated this revision to Diff 35075.
dsanders added a comment.
Pavel's suggestion to use LLDB_SYSTEM_LIBS works for me. Updated the patch.
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
@@ -30,6 +30,7 @@
if (HAVE_LIBPTHREAD)
target_link_libraries(lldb-server pthread)
endif ()
+ target_link_libraries(lldb-server ${LLDB_SYSTEM_LIBS})
else()
add_lldb_executable(lldb-server
lldb-gdbserver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12900.35075.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150918/341e3b8b/attachment.bin>
More information about the lldb-commits
mailing list