mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-18 03:55:50 +00:00
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
Author: Gianfranco Costamagna <locutusofborg@debian.org>
|
|
Last-Update: 2020-01-21
|
|
|
|
Index: llvm-toolchain-9-9.0.1/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-9-9.0.1.orig/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
|
+++ llvm-toolchain-9-9.0.1/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
|
|
@@ -336,10 +336,11 @@
|
|
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
|
|
}
|
|
|