Index: third_party/zlib/zlib.gyp |
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp |
index 44e1f8bed22d52c5117ab3a08ea45dcbd85c11d3..36613a735e9927e294d2e6579ec0205018ba0ea0 100644 |
--- a/third_party/zlib/zlib.gyp |
+++ b/third_party/zlib/zlib.gyp |
@@ -4,7 +4,14 @@ |
{ |
'variables': { |
- 'use_system_zlib%': 0, |
+ 'conditions': [ |
+ [ 'OS=="linux"', { |
+ # Link to system .so since we already use it due to GTK. |
+ 'use_system_zlib%': 1, |
+ }, { # OS!="linux" |
+ 'use_system_zlib%': 0, |
+ }], |
+ ], |
}, |
'conditions': [ |
['use_system_zlib==0', { |