From b3c76f39047d33ddb0662265ecc4d3f917132161 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 09:49:55 +0800 Subject: [PATCH] Only define mac_framework_dirs on Mac --- atom.gyp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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': [ -- 2.43.0