diff options
Diffstat (limited to 'gyp/zlib.gyp')
-rw-r--r-- | gyp/zlib.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gyp/zlib.gyp b/gyp/zlib.gyp index d41924d1bc..af11169ae0 100644 --- a/gyp/zlib.gyp +++ b/gyp/zlib.gyp @@ -21,6 +21,14 @@ }, 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ], }], + [ 'skia_os == "ios"', { + 'link_settings': { + 'libraries': [ + '<(ios_sdk_dir)<(ios_sdk_version).sdk/usr/lib/libz.dylib', + ], + }, + 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ], + }], [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "android"]', { 'link_settings': { 'libraries': [ '-lz', ], }, 'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ], |