Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cbd358c

Browse filesBrowse files
Shigeki Ohtsurvagg
authored andcommitted
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>
1 parent 3137e46 commit cbd358c
Copy full SHA for cbd358c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎tools/gyp/pylib/gyp/xcode_emulation.py‎

Copy file name to clipboardExpand all lines: tools/gyp/pylib/gyp/xcode_emulation.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,6 +1495,8 @@ def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration,
14951495
sdk_root = xcode_settings._SdkRoot(configuration)
14961496
if not sdk_root:
14971497
sdk_root = xcode_settings._XcodeSdkPath('')
1498+
if sdk_root is None:
1499+
sdk_root = ''
14981500
env['SDKROOT'] = sdk_root
14991501

15001502
if not additional_settings:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.