Index: gyp/zlib.gyp |
diff --git a/gyp/zlib.gyp b/gyp/zlib.gyp |
index e2424db38999ddf0c1182eb8e216565a5afd4956..4b0a5956954e7d6a034104ac37032f0edbad74fc 100644 |
--- a/gyp/zlib.gyp |
+++ b/gyp/zlib.gyp |
@@ -18,5 +18,14 @@ |
}] |
], |
}, |
+ },{ |
+ 'target_name': 'miniz', |
+ 'type': 'none', |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ '../third_party/miniz' ], |
+ 'defines': [ 'ZLIB_INCLUDE="miniz.c"' ], |
+ # Not ideal, but GCC's issuing an otherwise-unstoppable (but innocuous) warning from miniz.c |
+ 'cflags': [ '-w' ], |
+ }, |
}], |
} |