forked from OSchip/llvm-project
Fix clang-tidy shared link with libc++
Currently the ClangTidyMain.cpp fails to link against shared LLVM/Clang libraries due to the missing symbol: clang::tooling::operator<(clang::tooling::Replacement const&, clang::tooling::Replacement const&); This patch fixes the issue by correctly linking clangToolingCore which contains the definition. llvm-svn: 300115
This commit is contained in:
parent
5f24c12dc4
commit
6eee3a3fca
|
@ -25,6 +25,7 @@ target_link_libraries(clang-tidy
|
|||
clangTidyPerformanceModule
|
||||
clangTidyReadabilityModule
|
||||
clangTooling
|
||||
clangToolingCore
|
||||
)
|
||||
|
||||
install(TARGETS clang-tidy
|
||||
|
|
Loading…
Reference in New Issue