Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index e04acbd4d8354bcf0c5d1070bcb06e898a9ad857..8a651f6d7c0e7c43bd9c8eebaa5e385aac43be2d 100644 |
--- a/third_party/zlib/zlib.gyp |
+++ b/third_party/zlib/zlib.gyp |
@@ -63,14 +63,20 @@ |
}], |
], |
}, { |
+ 'variables': { |
+ 'headers_root_path': '.', |
+ 'header_filenames': [ |
+ 'zlib.h', |
+ ], |
+ }, |
+ 'includes': [ |
+ '../../build/shim_headers.gypi', |
+ ], |
'direct_dependent_settings': { |
'defines': [ |
'USE_SYSTEM_ZLIB', |
], |
}, |
- 'defines': [ |
- 'USE_SYSTEM_ZLIB', |
- ], |
'link_settings': { |
'libraries': [ |
'-lz', |
@@ -94,6 +100,9 @@ |
'contrib/minizip/zip.c', |
'contrib/minizip/zip.h', |
], |
+ 'dependencies': [ |
+ 'zlib', |
+ ], |
'include_dirs': [ |
'.', |
'../..', |