1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/community/lldb/fix-embedded_interpreter.patch
2022-09-30 08:40:58 +02:00

14 lines
367 B
Diff

Hack so that lldb can find its custom readline.so, because we move it
after install.
This is based on Fedora package.
--- a/source/Interpreter/embedded_interpreter.py
+++ b/source/Interpreter/embedded_interpreter.py
@@ -1,4 +1,6 @@
import sys
+sys.path.insert(1, '%{python_sitearch}/lldb')
+
if sys.version_info[0] < 3:
import __builtin__ as builtins
else: