meson: use llvm-config instead of cmake to fix linking errors with meson 1.2.1

From Marek Olsak
d11900d5e76922790de90ebfb89f918673759a88 in mainline Mesa
This commit is contained in:
jsg
2023-11-10 03:59:40 +00:00
parent 1580297f05
commit e200c394d8

View File

@@ -1669,6 +1669,7 @@ with_llvm = false
if _llvm.allowed()
dep_llvm = dependency(
'llvm',
method : host_machine.system() == 'windows' ? 'auto' : 'config-tool',
version : _llvm_version,
modules : llvm_modules,
optional_modules : llvm_optional_modules,