Fix link failures when BUILD_SHARED_LIBS=ON.

patch by Daniel Sanders.

Reviewers: labath, krytarowski

Subscribers: krytarowski, labath, lldb-commits

Differential Revision: http://reviews.llvm.org/D12900

llvm-svn: 247991
This commit is contained in:
Pavel Labath 2015-09-18 14:22:45 +00:00
parent df19a5e605
commit ded4e756b2
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ if (BUILD_SHARED_LIBS )
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