Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 9ee8a14

Browse files
Shigeki Ohtsujoaocgreis
authored andcommitted
deps: fix gyp to work on MacOSX without XCode
This is a port of nodejs/node@eb459c8 , used as a floating patch over gyp. Original commit message: 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: nodejs/node#1325 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: #25857 Reviewed-By: Alexis Campailla <alexis@janeasystems.com>
1 parent a525c72 commit 9ee8a14

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tools/gyp/pylib/gyp/xcode_emulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,8 @@ def _GetXcodeEnv(xcode_settings, built_products_dir, srcroot, configuration,
14791479
sdk_root = xcode_settings._SdkRoot(configuration)
14801480
if not sdk_root:
14811481
sdk_root = xcode_settings._XcodeSdkPath('')
1482+
if sdk_root is None:
1483+
sdk_root = ''
14821484
env['SDKROOT'] = sdk_root
14831485

14841486
if not additional_settings:

0 commit comments

Comments
 (0)