clc/clover: Link clang statically when shared-llvm is disabled
Makes things easier to handle when aiming for a static build Cc: mesa-stable Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18117>
This commit is contained in:
@@ -1884,7 +1884,7 @@ if with_clc
|
||||
|
||||
dep_clang = cpp.find_library('clang-cpp', dirs : llvm_libdir, required : false)
|
||||
|
||||
if not dep_clang.found()
|
||||
if not dep_clang.found() or not _shared_llvm
|
||||
clang_modules = [
|
||||
'clangBasic', 'clangAST', 'clangCodeGen', 'clangLex',
|
||||
'clangDriver', 'clangFrontend', 'clangFrontendTool',
|
||||
|
Reference in New Issue
Block a user