pbzx: fix cross compilation
This commit is contained in:
parent
9ad03b1ed9
commit
2931a2e1d5
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
buildInputs = [ xz xar ];
|
||||
buildPhase = ''
|
||||
cc pbzx.c -llzma -lxar -o pbzx
|
||||
${stdenv.cc.targetPrefix}cc pbzx.c -llzma -lxar -o pbzx
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
Loading…
Reference in New Issue
Block a user