2013-05-28 23:27:28 +02:00
|
|
|
--- a/pylib/gyp/xcode_emulation.py
|
|
|
|
+++ b/pylib/gyp/xcode_emulation.py
|
2017-06-22 21:18:47 +02: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 23:27:28 +02:00
|
|
|
+ if sdk_root:
|
2017-06-22 21:18:47 +02:00
|
|
|
+ env['SDKROOT'] = sdk_root
|
2013-05-28 23:27:28 +02:00
|
|
|
|
2017-06-22 21:18:47 +02:00
|
|
|
if not additional_settings:
|
|
|
|
additional_settings = {}
|