[Lldb-commits] [PATCH] D12964: [lldb-server] No need to add pthread twice.
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 18 07:36:06 PDT 2015
dsanders created this revision.
dsanders added subscribers: krytarowski, labath, lldb-commits.
Following on from r247991:
pthread is in LLDB_SYSTEM_LIBS so there's no need to explicitly add it to the link.
http://reviews.llvm.org/D12964
Files:
tools/lldb-server/CMakeLists.txt
Index: tools/lldb-server/CMakeLists.txt
===================================================================
--- tools/lldb-server/CMakeLists.txt
+++ tools/lldb-server/CMakeLists.txt
@@ -27,9 +27,7 @@
)
target_link_libraries(lldb-server liblldb)
- 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: D12964.35085.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150918/66ebd603/attachment.bin>
More information about the lldb-commits
mailing list