diff options
author | Shigeki Ohtsu <ohtsu@iij.ad.jp> | 2015-02-10 09:27:52 +0900 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-08-23 16:24:30 -0400 |
commit | 3debbc76057ae5df6780d4b639b67d759721c5ab (patch) | |
tree | e765ddef4c2d0eadfefa772821abe96336e5b523 /tools/gyp/pylib | |
parent | 327077ce43866020eadaf3b58f7280a09ed0c348 (diff) | |
download | node-new-3debbc76057ae5df6780d4b639b67d759721c5ab.tar.gz |
gyp: 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: https://github.com/iojs/io.js/pull/1325
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/gyp/pylib')
-rw-r--r-- | tools/gyp/pylib/gyp/xcode_emulation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py index dba8e7699e..667c53695a 100644 --- a/tools/gyp/pylib/gyp/xcode_emulation.py +++ b/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: |