Skip to content

Commit

Permalink
[lldb-server] No need to add pthread twice.
Browse files Browse the repository at this point in the history
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

llvm-svn: 248177
  • Loading branch information
dsandersllvm committed Sep 21, 2015
1 parent 937e396 commit 7d8e7bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lldb/tools/lldb-server/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit 7d8e7bd

Please sign in to comment.