Adjust python sys.path so lldb can find readline.so
This commit is contained in:
parent
7391dd6678
commit
be64a97610
@ -1,6 +1,6 @@
|
||||
Name: lldb
|
||||
Version: 3.9.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: NCSA
|
||||
@ -51,6 +51,10 @@ The package contains the LLDB Python module.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# HACK so that lldb can find its custom readline.so, because we move it
|
||||
# after install.
|
||||
sed -i -e "s~import sys~import sys\nsys.path.insert\(1, '%{python_sitearch}/lldb'\)~g" source/Interpreter/embedded_interpreter.py
|
||||
|
||||
%build
|
||||
|
||||
rm tools/lldb-mi/MIUtilParse.*
|
||||
@ -117,6 +121,9 @@ rm -f %{buildroot}%{python_sitearch}/six.*
|
||||
%{python_sitearch}/lldb
|
||||
|
||||
%changelog
|
||||
* Fri Mar 17 2017 Tom Stellard <tstellar@redhat.org> - 3.9.1-3
|
||||
- Adjust python sys.path so lldb can find readline.so
|
||||
|
||||
* Tue Mar 14 2017 Tom Stellard <tstellar@redhat.com> - 3.9.1-2
|
||||
- Fix build with gcc 7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user