diff options
Diffstat (limited to 'build_files/scons/config/darwin-config.py')
-rw-r--r-- | build_files/scons/config/darwin-config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py index 78a19a1e81d..e9c7fb2aca8 100644 --- a/build_files/scons/config/darwin-config.py +++ b/build_files/scons/config/darwin-config.py @@ -34,7 +34,7 @@ elif cmd_res[:2]=='11': MAC_CUR_VER='10.7' cmd = 'xcodebuild -version' cmd_xcode=commands.getoutput(cmd) -XCODE_CUR_VER=cmd_xcode +XCODE_CUR_VER=cmd_xcode[6:][:3] # truncate output to major.minor version cmd = 'xcodebuild -showsdks' cmd_sdk=commands.getoutput(cmd) MACOSX_SDK_CHECK=cmd_sdk |