From 96633b2dc8314e77cfbab889df437d5c8699fadf Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 7 May 2018 22:13:54 +0200 Subject: testing/lldb: move custom readline.so into correct location --- testing/lldb/fix-embedded_interpreter.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testing/lldb/fix-embedded_interpreter.patch (limited to 'testing/lldb/fix-embedded_interpreter.patch') diff --git a/testing/lldb/fix-embedded_interpreter.patch b/testing/lldb/fix-embedded_interpreter.patch new file mode 100644 index 0000000000..599e30a440 --- /dev/null +++ b/testing/lldb/fix-embedded_interpreter.patch @@ -0,0 +1,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: -- cgit v1.2.3