p7zip: fix build on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-08-15 13:53:43 +10:00
parent 68469ca342
commit e822cc9c44

View File

@ -8,11 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "10j7rc1nzdp7vvcpc3340yi3qw7abby4szv8zkwh10d0zizpwma9";
};
preConfigure =
''
makeFlagsArray=(DEST_HOME=$out)
buildFlags=all3
'';
preConfigure = ''
makeFlagsArray=(DEST_HOME=$out)
buildFlags=all3
'' + stdenv.lib.optionalString stdenv.isDarwin ''
cp makefile.macosx_64bits makefile.machine
'';
enableParallelBuilding = true;