llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Michał Górny (mgorny)

<details>
<summary>Changes</summary>

Fix a regression introduced in #<!-- -->174513 that would cause `BasicTests` to 
link directly to static `LLVMTargetParser` library instead of using the 
component linking, to respect dylib.

---
Full diff: https://github.com/llvm/llvm-project/pull/175317.diff


1 Files Affected:

- (modified) clang/unittests/Basic/CMakeLists.txt (+1-1) 


``````````diff
diff --git a/clang/unittests/Basic/CMakeLists.txt 
b/clang/unittests/Basic/CMakeLists.txt
index 4918d07ace22b..058243fd3fdba 100644
--- a/clang/unittests/Basic/CMakeLists.txt
+++ b/clang/unittests/Basic/CMakeLists.txt
@@ -16,8 +16,8 @@ add_distinct_clang_unittest(BasicTests
   clangBasic
   clangLex
   LINK_LIBS
-  LLVMTargetParser
   LLVMTestingSupport
   LLVM_COMPONENTS
   Support
+  TargetParser
   )

``````````

</details>


https://github.com/llvm/llvm-project/pull/175317
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to