[clang-tools-extra] 8431436 - Link with missing libs to fix broken shared build

Jun Zhang via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 08:01:56 PST 2022


Author: Jun Zhang
Date: 2022-12-03T00:01:37+08:00
New Revision: 8431436e543f78a33e8165257f2e2f89c38269f9

URL: https://github.com/llvm/llvm-project/commit/8431436e543f78a33e8165257f2e2f89c38269f9
DIFF: https://github.com/llvm/llvm-project/commit/8431436e543f78a33e8165257f2e2f89c38269f9.diff

LOG: Link with missing libs to fix broken shared build

Signed-off-by: Jun Zhang <jun at junz.org>

Differential Revision: https://reviews.llvm.org/D139202

Added: 
    

Modified: 
    clang-tools-extra/include-cleaner/lib/CMakeLists.txt
    clang-tools-extra/include-cleaner/tool/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
index 5c83e8fdc1515..75e1fb725c656 100644
--- a/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
+++ b/clang-tools-extra/include-cleaner/lib/CMakeLists.txt
@@ -16,6 +16,7 @@ clang_target_link_libraries(clangIncludeCleaner
   clangBasic
   clangFormat
   clangLex
+  clangToolingCore
   clangToolingInclusions
   clangToolingInclusionsStdlib
   )

diff  --git a/clang-tools-extra/include-cleaner/tool/CMakeLists.txt b/clang-tools-extra/include-cleaner/tool/CMakeLists.txt
index 3b9b03141ce1b..f48907f9ae68a 100644
--- a/clang-tools-extra/include-cleaner/tool/CMakeLists.txt
+++ b/clang-tools-extra/include-cleaner/tool/CMakeLists.txt
@@ -6,6 +6,7 @@ clang_target_link_libraries(clang-include-cleaner PRIVATE
   clangBasic
   clangFrontend
   clangLex
+  clangFormat
   clangSerialization
   clangTooling
   )


        


More information about the cfe-commits mailing list