Quote a python executable path

On my Windows machine at least, the path to python contains a space.
This commit is contained in:
Jeremy Morse 2020-03-04 15:22:31 +00:00
parent 4f29d30f7c
commit 16c6e0f387
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ if config.clang_staticanalyzer:
config.test_source_root, "Analysis", "check-analyzer-fixit.py")
config.substitutions.append(
('%check_analyzer_fixit',
'%s %s' % (config.python_executable, check_analyzer_fixit_path)))
'"%s" %s' % (config.python_executable, check_analyzer_fixit_path)))
llvm_config.add_tool_substitutions(tools, tool_dirs)