Minor clean up of LLDB patch and only apply it if LLDB is being built
This commit is contained in:
parent
4de979bbff
commit
a6e4e62b0f
@ -1,5 +1,5 @@
|
|||||||
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 18:35:27.913085487 +0100
|
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
|
||||||
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 17:54:59.359789538 +0100
|
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
|
||||||
@@ -118,6 +118,8 @@
|
@@ -118,6 +118,8 @@
|
||||||
echo "Python files will be put in ${framework_python_dir}"
|
echo "Python files will be put in ${framework_python_dir}"
|
||||||
fi
|
fi
|
||||||
|
@ -304,7 +304,9 @@ mv lldb-%{version_base} tools/lldb
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
%if %{with lldb}
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
# fix library paths
|
# fix library paths
|
||||||
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
|
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure
|
||||||
|
Loading…
Reference in New Issue
Block a user