Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index 6fa9e9dccc8e2a7c6daa053edb2af9508c97372f..7718da354e100d3e4a6cf6552f62b8cf7b1487b3 100644 |
--- a/third_party/zlib/zlib.gyp |
+++ b/third_party/zlib/zlib.gyp |
@@ -5,12 +5,12 @@ |
{ |
'variables': { |
'conditions': [ |
- [ 'OS=="linux" or OS=="freebsd"', { |
+ [ 'os_posix == 1 and OS != "mac" and OS != "openbsd"', { |
# Link to system .so since we already use it due to GTK. |
# TODO(pvalchev): OpenBSD is purposefully left out, as the system |
# zlib brings up an incompatibility that breaks rendering. |
'use_system_zlib%': 1, |
- }, { # OS!="linux" and OS!="freebsd" |
+ }, { # os_posix != 1 or OS == "mac" or OS == "openbsd" |
'use_system_zlib%': 0, |
}], |
], |