Skip to content
Permalink
Browse files

tools: fix gyp to work on MacOSX without XCode

This issue has already submitted to the upstream in
https://code.google.com/p/gyp/issues/detail?id=477
Use this commit until the upstream is to be fixed.

PR-URL: #1325
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information...
Shigeki Ohtsu authored and refack committed Feb 10, 2015
1 parent 3a334b1 commit e7c3f4a97b1297f3404ffdb26a37a619850cd448
Showing with 2 additions and 0 deletions.
  1. +2 −0 tools/gyp/pylib/gyp/xcode_emulation.py
@@ -1662,6 +1662,8 @@ def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration,
sdk_root = xcode_settings._SdkRoot(configuration)
if not sdk_root:
sdk_root = xcode_settings._XcodeSdkPath('')
if sdk_root is None:
sdk_root = ''
env['SDKROOT'] = sdk_root

if not additional_settings:

0 comments on commit e7c3f4a

Please sign in to comment.
You can’t perform that action at this time.