diff options
Diffstat (limited to 'BuildTools')
-rwxr-xr-x | BuildTools/scons2ninja.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py index a39ed32..c0eca0d 100755 --- a/BuildTools/scons2ninja.py +++ b/BuildTools/scons2ninja.py @@ -117,13 +117,13 @@ def get_built_libs(libs, libpaths, outputs) : lib_libpath = os.path.join(libpath, LIB_PREFIX + lib + LIB_SUFFIX) if os.path.abspath(lib_libpath) in canonical_outputs : result.append(lib_libpath) return result def parse_tool_command(line) : - command = shlex.split(line) + command = shlex.split(line, False, False if sys.platform == 'win32' else True) flags = command[1:] tool = os.path.splitext(os.path.basename(command[0]))[0] if tool.startswith('clang++') or tool.startswith('g++') : tool = "cxx" elif tool.startswith('clang') or tool.startswith('gcc') : tool = "cc" |