2013-05-28 22:27:28 +01:00
|
|
|
--- a/pylib/gyp/xcode_emulation.py
|
|
|
|
+++ b/pylib/gyp/xcode_emulation.py
|
2017-06-22 20:18:47 +01:00
|
|
|
@@ -1470,7 +1470,8 @@
|
|
|
|
sdk_root = xcode_settings._SdkRoot(configuration)
|
|
|
|
if not sdk_root:
|
|
|
|
sdk_root = xcode_settings._XcodeSdkPath('')
|
|
|
|
- env['SDKROOT'] = sdk_root
|
2013-05-28 22:27:28 +01:00
|
|
|
+ if sdk_root:
|
2017-06-22 20:18:47 +01:00
|
|
|
+ env['SDKROOT'] = sdk_root
|
2013-05-28 22:27:28 +01:00
|
|
|
|
2017-06-22 20:18:47 +01:00
|
|
|
if not additional_settings:
|
|
|
|
additional_settings = {}
|