Merge pull request #151184 from NickCao/librsvg
librsvg: fix cross compilation
This commit is contained in:
commit
78022c5dd1
@ -14,6 +14,7 @@
|
||||
, libobjc
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, rust
|
||||
, cargo
|
||||
, gnome
|
||||
, vala
|
||||
@ -78,7 +79,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
"--enable-installed-tests"
|
||||
"--enable-always-build-tests"
|
||||
] ++ lib.optional stdenv.isDarwin "--disable-Bsymbolic";
|
||||
] ++ lib.optional stdenv.isDarwin "--disable-Bsymbolic"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "RUST_TARGET=${rust.toRustTarget stdenv.hostPlatform}";
|
||||
|
||||
makeFlags = [
|
||||
"installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/RSVG"
|
||||
|
Loading…
Reference in New Issue
Block a user