Index: third_party/libjpeg/libjpeg.gyp |
diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp |
index e0f4f1d9dbbd74bcc8758ad0c81a49dbacd72b91..9ca5b35f0c95dc38924697a4e78d84826f29f50c 100644 |
--- a/third_party/libjpeg/libjpeg.gyp |
+++ b/third_party/libjpeg/libjpeg.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_libjpeg%': 1, |
- }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" |
+ }, { # os_posix != 1 or OS == "mac" |
'use_system_libjpeg%': 0, |
}], |
], |