mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
meson: use llvm-config instead of cmake to fix linking errors with meson 1.2.1
The cmake path picks a random LLVM in /usr, which happens to be 32-bit LLVM, which fails to link with 64-bit Mesa. This is a meson, cmake, or LLVM bug. Acked-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25042>
This commit is contained in:
parent
6a89507be8
commit
d11900d5e7
1 changed files with 1 additions and 0 deletions
|
|
@ -1700,6 +1700,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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue