]> khamidou — GitHub mirrors - electron.git/commitdiff
Only define mac_framework_dirs on Mac
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 01:49:55 +0000 (09:49 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 01:49:55 +0000 (09:49 +0800)
atom.gyp

index e70b65e78aa1cc4ad419feb012ad6bc667c47777..52195c316f67c0fed6613c1b61104bbb7f68a729 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
       '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': [