diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-26 14:03:52 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-06-26 14:03:52 +0400 |
commit | 283abdf3b2de08c9e5be764a02e89120fe7b67da (patch) | |
tree | 55e438859ab4c2f53a09be09c35013d832253f56 /SConstruct | |
parent | 0503dc3d021bbb98a0b3a5fa9878f0a0436adcee (diff) |
Fix compilation error with scons and older pythons
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index f27ba1754c1..0c85fe11cdc 100644 --- a/SConstruct +++ b/SConstruct @@ -285,7 +285,7 @@ if env['OURPLATFORM']=='darwin': import subprocess command = ["%s"%env['CC'], "--version"] - line = subprocess.check_output(command) + line = btools.get_command_output(command) ver = re.search(r'[0-9]+(\.[0-9]+[svn]+)+', line) or re.search(r'[0-9]+(\.[0-9]+)+', line) # read the "based on LLVM x.xsvn" version here, not the Apple version if ver: env['CCVERSION'] = ver.group(0).strip('svn') |