[Lldb-commits] [lldb] r248177 - [lldb-server] No need to add pthread twice.
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 21 10:23:22 PDT 2015
Author: dsanders
Date: Mon Sep 21 12:23:22 2015
New Revision: 248177
URL: http://llvm.org/viewvc/llvm-project?rev=248177&view=rev
Log:
[lldb-server] No need to add pthread twice.
Summary:
Following on from r247991:
pthread is in LLDB_SYSTEM_LIBS so there's no need to explicitly add it to the link.
Reviewers: labath
Subscribers: lldb-commits, labath, krytarowski
Differential Revision: http://reviews.llvm.org/D12964
Modified:
lldb/trunk/tools/lldb-server/CMakeLists.txt
Modified: lldb/trunk/tools/lldb-server/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-server/CMakeLists.txt?rev=248177&r1=248176&r2=248177&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-server/CMakeLists.txt (original)
+++ lldb/trunk/tools/lldb-server/CMakeLists.txt Mon Sep 21 12:23:22 2015
@@ -27,9 +27,6 @@ if (BUILD_SHARED_LIBS )
)
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
More information about the lldb-commits
mailing list