Skip to content

Commit c462160

Browse files
committed
More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)
Some systems requires explictly providing -lpthread when linking, I don't have such system so it is hard to find all the missing cases.
1 parent 67221ed commit c462160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Tooling/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,5 @@ add_clang_library(clangTooling
135135
clangRewrite
136136
clangSerialization
137137
clangToolingCore
138+
${LLVM_PTHREAD_LIB}
138139
)

0 commit comments

Comments
 (0)