Merge pull request #175668 from a-m-joseph/pr/libspnav/crosscompile
libspnav: fix cross-compilation
This commit is contained in:
commit
7d26f29bc7
|
@ -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 a new issue