8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
12 lines
365 B
Diff
12 lines
365 B
Diff
--- a/pylib/gyp/xcode_emulation.py
|
|
+++ b/pylib/gyp/xcode_emulation.py
|
|
@@ -1470,7 +1470,8 @@
|
|
sdk_root = xcode_settings._SdkRoot(configuration)
|
|
if not sdk_root:
|
|
sdk_root = xcode_settings._XcodeSdkPath('')
|
|
- env['SDKROOT'] = sdk_root
|
|
+ if sdk_root:
|
|
+ env['SDKROOT'] = sdk_root
|
|
|
|
if not additional_settings:
|
|
additional_settings = {}
|