Browse Source

deps: fix zlib.gyp for zlib upgrade to 1.2.8

This adds new sources for gzip files and defines a new flag for mac and freebsd.
They are taken from third_party/zlib/zlib.gyp in Chromium repository.
v0.10.34-release
Shigeki Ohtsu 10 years ago
committed by Timothy J Fontaine
parent
commit
710845cfd3
  1. 15
      deps/zlib/zlib.gyp

15
deps/zlib/zlib.gyp

@ -27,7 +27,11 @@
'crc32.h',
'deflate.c',
'deflate.h',
'gzio.c',
'gzclose.c',
'gzguts.h',
'gzlib.c',
'gzread.c',
'gzwrite.c',
'infback.c',
'inffast.c',
'inffast.h',
@ -36,7 +40,6 @@
'inflate.h',
'inftrees.c',
'inftrees.h',
'mozzconf.h',
'trees.c',
'trees.h',
'uncompr.c',
@ -63,6 +66,14 @@
'contrib/minizip/iowin32.c'
],
}],
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
# Mac, Android and the BSDs don't have fopen64, ftello64, or
# fseeko64. We use fopen, ftell, and fseek instead on these
# systems.
'defines': [
'USE_FILE32API'
],
}],
],
},
],

Loading…
Cancel
Save