Remove static lldb library removal

It doesn't seem like this is necessary. The static libraries do
not get installed.
This commit is contained in:
Nikita Popov 2024-08-02 10:32:38 +00:00 committed by Timm Bäder
parent 468da93677
commit bf12d461f1

View file

@ -224,9 +224,6 @@ install -D -m 644 -t %{buildroot}%{_mandir}/man1/ lld/docs/ld.lld.1
%if %{with lldb} %if %{with lldb}
%multilib_fix_c_header --file %{install_includedir}/lldb/Host/Config.h %multilib_fix_c_header --file %{install_includedir}/lldb/Host/Config.h
# remove static libraries
rm -fv %{buildroot}%{_libdir}/liblldb*.a
# python: fix binary libraries location # python: fix binary libraries location
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so)) liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so ln -vsf "../../../${liblldb}" %{buildroot}%{python3_sitearch}/lldb/_lldb.so