1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/lldb/fix-embedded_interpreter.patch

14 lines
370 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: