From 283abdf3b2de08c9e5be764a02e89120fe7b67da Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 26 Jun 2014 16:03:52 +0600 Subject: Fix compilation error with scons and older pythons --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SConstruct') 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') -- cgit v1.2.3