libspnav: fix cross-compilation
Prior to this commit, pkgsCross.foo.libspnav would fail with something like: ``` /nix/store/...-bash-5.1-p16/bin/bash: line 1: ar: command not found ``` Let's fix that by passing `AR=` in `makeFlags`.
This commit is contained in:
parent
888cfd1308
commit
96ac705f1b
@ -21,7 +21,10 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
configureFlags = [ "--disable-debug"];
|
||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"AR=${stdenv.cc.targetPrefix}ar"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/{lib,include}
|
||||
|
Loading…
Reference in New Issue
Block a user