mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
unzip: add support for file greater than 2 GB (unix only)
svn path=/nixpkgs/branches/stdenv-updates/; revision=28622
This commit is contained in:
parent
05a530fd10
commit
565cdcc3e1
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ stdenv.mkDerivation {
|
|||
|
||||
buildFlags = "generic D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2";
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e 's@CF="-O3 -Wall -I. -DASM_CRC $(LOC)"@CF="-O3 -Wall -I. -DASM_CRC -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(LOC)"@' unix/Makefile
|
||||
'';
|
||||
|
||||
installFlags = "prefix=$(out)";
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue