diff options
Diffstat (limited to 'third_party/libjpeg/libjpeg.gyp')
-rw-r--r-- | third_party/libjpeg/libjpeg.gyp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp index e0f4f1d..9ca5b35f 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, }], ], |