print-lldb-path
Last-Update: 2020-01-21 Gbp-Pq: Name print-lldb-path.patch
This commit is contained in:
parent
b90028ad2a
commit
c2bb5be854
|
@ -336,10 +336,11 @@ void ScriptInterpreterPython::ComputePythonDirForPosix(
|
|||
llvm::sys::path::remove_filename(path, style);
|
||||
llvm::sys::path::append(path, style, LLDB_PYTHON_RELATIVE_LIBDIR);
|
||||
#else
|
||||
llvm::sys::path::remove_filename(path, style);
|
||||
llvm::sys::path::append(path, style,
|
||||
"python" + llvm::Twine(PY_MAJOR_VERSION) + "." +
|
||||
llvm::Twine(PY_MINOR_VERSION),
|
||||
"site-packages");
|
||||
"python3"/* + llvm::Twine(PY_MAJOR_VERSION) + "." +
|
||||
llvm::Twine(PY_MINOR_VERSION)*/,
|
||||
"dist-packages");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue