From: Cheng Zhao Date: Fri, 3 Jul 2015 01:49:55 +0000 (+0800) Subject: Only define mac_framework_dirs on Mac X-Git-Tag: v0.29.0~2^2~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b3c76f39047d33ddb0662265ecc4d3f917132161;p=electron.git Only define mac_framework_dirs on Mac --- diff --git a/atom.gyp b/atom.gyp index e70b65e7..52195c31 100644 --- a/atom.gyp +++ b/atom.gyp @@ -15,8 +15,12 @@ 'ATOM_PRODUCT_NAME="<(product_name)"', 'ATOM_PROJECT_NAME="<(project_name)"', ], - 'mac_framework_dirs': [ - '<(source_root)/external_binaries', + 'conditions': [ + ['OS=="mac"', { + 'mac_framework_dirs': [ + '<(source_root)/external_binaries', + ], + }], ], }, 'targets': [