pbzx: fix cross compilation

This commit is contained in:
Andrew Childs
2021-05-17 00:27:00 +09:00
parent 9ad03b1ed9
commit 2931a2e1d5
+1 -1
View File
@@ -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