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