Skip to content

Commit f4a254c

Browse files
Merge pull request #195 from DensityCo/master
Fix Yocto cross-compiles
2 parents db0e610 + 8d418ab commit f4a254c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SConstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ env['RANLIB'] = prefix + "ranlib"
142142

143143
if not GetOption("help"):
144144
try:
145-
compiler_ver = subprocess.check_output([env['CXX'], "-dumpversion"]).strip()
145+
compiler_ver = subprocess.check_output(env['CXX'].split() + ["-dumpversion"]).strip()
146146
except OSError:
147147
print("ERROR: Compiler '%s' not found" % env['CXX'])
148148
Exit(1)

0 commit comments

Comments
 (0)