| Index: pylib/gyp/xcode_emulation.py
|
| ===================================================================
|
| --- pylib/gyp/xcode_emulation.py (revision 1485)
|
| +++ pylib/gyp/xcode_emulation.py (working copy)
|
| @@ -939,6 +939,11 @@
|
| 'TARGET_BUILD_DIR' : built_products_dir,
|
| 'TEMP_DIR' : '${TMPDIR}',
|
| }
|
| + if xcode_settings.GetPerTargetSetting('SDKROOT'):
|
| + env['SDKROOT'] = xcode_settings._SdkPath()
|
| + else:
|
| + env['SDKROOT'] = ''
|
| +
|
| if spec['type'] in (
|
| 'executable', 'static_library', 'shared_library', 'loadable_module'):
|
| env['EXECUTABLE_NAME'] = xcode_settings.GetExecutableName()
|
|
|