Minor clean up of LLDB patch and only apply it if LLDB is being built

This commit is contained in:
Dave Johansen 2015-01-02 20:18:29 -07:00
parent 4de979bbff
commit a6e4e62b0f
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 18:35:27.913085487 +0100
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh 2014-02-10 17:54:59.359789538 +0100
--- a/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
+++ b/tools/lldb/scripts/Python/finish-swig-Python-LLDB.sh
@@ -118,6 +118,8 @@
echo "Python files will be put in ${framework_python_dir}"
fi

View File

@ -304,7 +304,9 @@ mv lldb-%{version_base} tools/lldb
%patch3 -p1
%patch4 -p1
%patch5 -p1
%if %{with lldb}
%patch6 -p1
%endif
# fix library paths
sed -i 's|/lib /usr/lib $lt_ld_extra|%{_libdir} $lt_ld_extra|' ./configure