Index: third_party/bzip2/bzip2.gyp |
diff --git a/third_party/bzip2/bzip2.gyp b/third_party/bzip2/bzip2.gyp |
index b1548f957371de122cd4434f4d6a4bc96f89d7ff..ae31121de93dc99e9655dfc0970d119147ee18d0 100644 |
--- a/third_party/bzip2/bzip2.gyp |
+++ b/third_party/bzip2/bzip2.gyp |
@@ -5,10 +5,10 @@ |
{ |
'variables': { |
'conditions': [ |
- [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
+ [ 'os_posix == 1 and OS != "mac"', { |
# Link to system .so since we already use it due to GTK. |
'use_system_bzip2%': 1, |
- }, { # OS!="linux" |
+ }, { # os_posix != 1 or OS == "mac" |
'use_system_bzip2%': 0, |
}], |
], |