Index: tools/lldb-server/CMakeLists.txt =================================================================== --- tools/lldb-server/CMakeLists.txt +++ tools/lldb-server/CMakeLists.txt @@ -30,6 +30,7 @@ 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