This commit is contained in:
Greg Clayton
2022-07-22 13:24:04 -07:00
parent 0b36a62d5f
commit f959d815f4
2 changed files with 4 additions and 4 deletions

View File

@@ -241,7 +241,7 @@ void ScriptInterpreterPython::ComputePythonDir(
llvm::sys::path::append(path, LLDB_PYTHON_RELATIVE_LIBDIR);
#if defined(_WIN32)
// This will be injected directly through FileSpec.GetDirectory().SetString(),
// This will be injected directly through FileSpec.SetDirectory(),
// so we need to normalize manually.
std::replace(path.begin(), path.end(), '\\', '/');
#endif