[llvm] 6c6ea9d - Fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 2 19:27:57 PST 2024
Author: Mehdi Amini
Date: 2024-03-02T19:27:50-08:00
New Revision: 6c6ea9d2b06c57b4c35b3d4bd6cc854a7b9a4590
URL: https://github.com/llvm/llvm-project/commit/6c6ea9d2b06c57b4c35b3d4bd6cc854a7b9a4590
DIFF: https://github.com/llvm/llvm-project/commit/6c6ea9d2b06c57b4c35b3d4bd6cc854a7b9a4590.diff
LOG: Fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)
Added:
Modified:
llvm/lib/DebugInfo/GSYM/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/DebugInfo/GSYM/CMakeLists.txt b/llvm/lib/DebugInfo/GSYM/CMakeLists.txt
index 0c09c2bf998c46..5447030e903dab 100644
--- a/llvm/lib/DebugInfo/GSYM/CMakeLists.txt
+++ b/llvm/lib/DebugInfo/GSYM/CMakeLists.txt
@@ -18,6 +18,9 @@ add_llvm_component_library(LLVMDebugInfoGSYM
DEPENDS
LLVMMC
+ LINK_LIBS
+ ${LLVM_PTHREAD_LIB}
+
LINK_COMPONENTS
MC
Object
More information about the llvm-commits
mailing list