mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-18 06:46:38 +00:00
19 lines
933 B
Diff
19 lines
933 B
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
|
|
@@ -337,8 +337,8 @@
|
|
llvm::sys::path::append(path, style, LLDB_PYTHON_RELATIVE_LIBDIR);
|
|
#else
|
|
llvm::sys::path::append(path, style,
|
|
- "python" + llvm::Twine(PY_MAJOR_VERSION) + "." +
|
|
- llvm::Twine(PY_MINOR_VERSION),
|
|
+ "python" /*+ llvm::Twine(PY_MAJOR_VERSION)*/ + "3"
|
|
+ /*llvm::Twine(PY_MINOR_VERSION)*/,
|
|
"site-packages");
|
|
#endif
|
|
}
|