Files
nixpkgs/pkgs/development/python-modules/gyp/no-xcode.patch
T

13 lines
365 B
Diff
Raw Normal View History

2013-05-28 17:27:28 -04: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 17:27:28 -04:00
+ if sdk_root:
2017-06-22 21:18:47 +02:00
+ env['SDKROOT'] = sdk_root
2013-05-28 17:27:28 -04:00
2017-06-22 21:18:47 +02:00
if not additional_settings:
additional_settings = {}