Author: Michał Górny Date: 2026-01-11T14:12:10+01:00 New Revision: 76ce0349778b27d70871f2d4ade45a1d5d5d6545
URL: https://github.com/llvm/llvm-project/commit/76ce0349778b27d70871f2d4ade45a1d5d5d6545 DIFF: https://github.com/llvm/llvm-project/commit/76ce0349778b27d70871f2d4ade45a1d5d5d6545.diff LOG: [clang] [unittest] Fix linking against dylib (#175317) 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. Signed-off-by: Michał Górny <[email protected]> Added: Modified: clang/unittests/Basic/CMakeLists.txt Removed: ################################################################################ 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 ) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
