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.
This commit is contained in:
Mehdi Amini
2024-03-02 19:36:22 -08:00
parent 1a4f52c842
commit e29cad6b3b

View File

@@ -17,6 +17,9 @@ add_llvm_component_library(LLVMDWARFLinkerParallel
DEPENDS
intrinsics_gen
LINK_LIBS
${LLVM_PTHREAD_LIB}
LINK_COMPONENTS
AsmPrinter
BinaryFormat