summaryrefslogtreecommitdiffstats
path: root/third_party/bzip2
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bzip2')
-rw-r--r--third_party/bzip2/bzip2.gyp9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/bzip2/bzip2.gyp b/third_party/bzip2/bzip2.gyp
index 8bf3b31..c0f36e0 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', {