mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: mesa: Fix cross-compilation.
* gnu/packages/gl.scm(mesa)[arguments]<#:phases>: When cross-compiling, force the use of the cmake method to find llvm. Change-Id: I27f6f4d9d71028c15588eeade48d3a918c042b9c Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
6401efb554
commit
a126e8120d
1 changed files with 3 additions and 0 deletions
|
@ -421,6 +421,9 @@ (define-public mesa
|
|||
;; When cross compiling, we use cmake to find llvm, not
|
||||
;; llvm-config, because llvm-config cannot be executed
|
||||
;; see https://github.com/llvm/llvm-project/issues/58984
|
||||
(substitute* "meson.build"
|
||||
(("method : host_machine\\.system.*")
|
||||
"method : 'cmake',\n"))
|
||||
(setenv "CMAKE"
|
||||
(search-input-file
|
||||
native-inputs "/bin/cmake")))))
|
||||
|
|
Loading…
Reference in a new issue