aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldb/fix-embedded_interpreter.patch
blob: 599e30a440b8c91ca639fda4b986054c72bd4e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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: