summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBuildTools/scons2ninja.py2
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
@@ -120,7 +120,7 @@ def get_built_libs(libs, libpaths, outputs) :
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++') :