forked from OSchip/llvm-project
Let clang-repl link privately against Clang components
First of all, this is the convention: all other tools have their dependencies private. While it does not have an effect on linking (there is no linking against executables), it does have an effect on exporting: having the targets private allows installing the tools without the libraries in a statically linked build, or a build against libclang-cpp.so. Reviewed By: v.g.vassilev Differential Revision: https://reviews.llvm.org/D122546
This commit is contained in:
parent
1d1cf9b6c4
commit
1721d52a62
|
@ -11,7 +11,7 @@ add_clang_tool(clang-repl
|
|||
ClangRepl.cpp
|
||||
)
|
||||
|
||||
clang_target_link_libraries(clang-repl PUBLIC
|
||||
clang_target_link_libraries(clang-repl PRIVATE
|
||||
clangBasic
|
||||
clangFrontend
|
||||
clangInterpreter
|
||||
|
|
Loading…
Reference in New Issue