Author: labath Date: Fri Sep 18 09:22:45 2015 New Revision: 247991 URL: http://llvm.org/viewvc/llvm-project?rev=247991&view=rev Log: 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 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=247991&r1=247990&r2=247991&view=diff ============================================================================== --- lldb/trunk/tools/lldb-server/CMakeLists.txt (original) +++ lldb/trunk/tools/lldb-server/CMakeLists.txt Fri Sep 18 09:22:45 2015 @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits