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