Skip to content

Commit c58f881

Browse files
committed
[lldb-dap] Stop linking explicitly against pthread
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 029cb8a commit c58f881

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lldb/tools/lldb-dap/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
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
@@ -73,15 +68,14 @@ add_lldb_tool(lldb-dap
7368
Handler/TestGetTargetBreakpointsRequestHandler.cpp
7469
Handler/ThreadsRequestHandler.cpp
7570
Handler/VariablesRequestHandler.cpp
76-
71+
7772
Protocol/ProtocolBase.cpp
7873
Protocol/ProtocolTypes.cpp
7974
Protocol/ProtocolRequests.cpp
8075

8176
LINK_LIBS
8277
liblldb
8378
lldbHost
84-
${extra_libs}
8579

8680
LINK_COMPONENTS
8781
Option

0 commit comments

Comments
 (0)