Skip to content

Commit 2e5a751

Browse files
authored
[lldb-dap] Stop linking explicitly against pthread (llvm#132111)
I can't figure out why this would be necessary. Nothing is checking if libpthread is available, nothing in lldb-dap is relying on libpthread directly and nothing else in LLDB is doing this.
1 parent f157365 commit 2e5a751

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lldb/tools/lldb-dap/CMakeLists.txt

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
if (HAVE_LIBPTHREAD)
2-
list(APPEND extra_libs pthread)
3-
endif ()
4-
5-
61
if(APPLE)
72
configure_file(
83
${CMAKE_CURRENT_SOURCE_DIR}/lldb-dap-Info.plist.in
@@ -74,15 +69,14 @@ add_lldb_tool(lldb-dap
7469
Handler/TestGetTargetBreakpointsRequestHandler.cpp
7570
Handler/ThreadsRequestHandler.cpp
7671
Handler/VariablesRequestHandler.cpp
77-
72+
7873
Protocol/ProtocolBase.cpp
7974
Protocol/ProtocolTypes.cpp
8075
Protocol/ProtocolRequests.cpp
8176

8277
LINK_LIBS
8378
liblldb
8479
lldbHost
85-
${extra_libs}
8680

8781
LINK_COMPONENTS
8882
Option

0 commit comments

Comments
 (0)