mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: librsvg: Fix cross-compiling on some architectures.
Fixes guix/guix#2675. * gnu/packages/gnome.scm (librsvg)[arguments]: Adjust the configure-flags when cross-compiling to also set the RUST_TARGET. Change-Id: Iaab1f7c01b4204d4cd3e12fd64f2260b4b3e4b10
This commit is contained in:
parent
5bd13a835b
commit
5f8ceb7115
1 changed files with 8 additions and 1 deletions
|
|
@ -3660,7 +3660,14 @@ for dealing with different structured file formats.")
|
|||
"--build=" #$(nix-system->gnu-triplet
|
||||
(%current-system)))
|
||||
(string-append
|
||||
"--host=" #$(%current-target-system)))
|
||||
"--host=" #$(%current-target-system))
|
||||
;; This is needed when cross-compiling for some
|
||||
;; architectures as autoconf and rust disagree about
|
||||
;; the target triplet.
|
||||
(string-append "RUST_TARGET="
|
||||
#$(platform-rust-target
|
||||
(lookup-platform-by-target
|
||||
(%current-target-system)))))
|
||||
#~("--enable-vala")))
|
||||
#:make-flags
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue