Skip to content

Commit a80b977

Browse files
committed
deps: don't build minizip into zlib
It's an optional extension that node/iojs doesn't use. PR-URL: #276 Reviewed-by: Ben Noordhuis <[email protected]>
1 parent ad37509 commit a80b977

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

deps/zlib/zlib.gyp

-21
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@
1313
'target_name': 'zlib',
1414
'type': 'static_library',
1515
'sources': [
16-
'contrib/minizip/ioapi.c',
17-
'contrib/minizip/ioapi.h',
18-
'contrib/minizip/iowin32.c',
19-
'contrib/minizip/iowin32.h',
20-
'contrib/minizip/unzip.c',
21-
'contrib/minizip/unzip.h',
22-
'contrib/minizip/zip.c',
23-
'contrib/minizip/zip.h',
2416
'adler32.c',
2517
'compress.c',
2618
'crc32.c',
@@ -50,8 +42,6 @@
5042
],
5143
'include_dirs': [
5244
'.',
53-
# For contrib/minizip
54-
'./contrib/minizip',
5545
],
5646
'direct_dependent_settings': {
5747
'include_dirs': [
@@ -62,9 +52,6 @@
6252
['OS!="win"', {
6353
'cflags!': [ '-ansi' ],
6454
'defines': [ 'Z_HAVE_UNISTD_H' ],
65-
'sources!': [
66-
'contrib/minizip/iowin32.c'
67-
],
6855
}],
6956
['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
7057
# Mac, Android and the BSDs don't have fopen64, ftello64, or
@@ -90,14 +77,6 @@
9077
'defines': [
9178
'USE_SYSTEM_ZLIB',
9279
],
93-
'sources': [
94-
'contrib/minizip/ioapi.c',
95-
'contrib/minizip/ioapi.h',
96-
'contrib/minizip/unzip.c',
97-
'contrib/minizip/unzip.h',
98-
'contrib/minizip/zip.c',
99-
'contrib/minizip/zip.h',
100-
],
10180
'link_settings': {
10281
'libraries': [
10382
'-lz',

0 commit comments

Comments
 (0)