mirror of
https://abf.rosa.ru/djam/llvm.git
synced 2025-02-24 00:32:49 +00:00
Fix a couple broken symlinks
This commit is contained in:
parent
aa9b11d7b5
commit
ee7ddbdc98
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
Summary: Low Level Virtual Machine (LLVM)
|
||||
Name: llvm
|
||||
Version: %{major_ver}.%{minor_ver}
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: NCSA
|
||||
Group: Development/Other
|
||||
Url: http://llvm.org/
|
||||
|
@ -151,6 +151,7 @@ This package contains the development files for LLVM.
|
|||
%files -n %{devname}
|
||||
%{_bindir}/%{name}-config
|
||||
%{_libdir}/libLLVM.so
|
||||
%{_libdir}/libLLVM-%{major}.%{minor_ver}.so
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/%{name}-c
|
||||
%dir %{_libdir}/%{name}
|
||||
|
@ -482,6 +483,7 @@ file %{buildroot}/%{_libdir}/llvm/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r
|
|||
|
||||
# move shared libraries to standard library path and add devel symlink (Anssi 11/2011)
|
||||
mv %{buildroot}%{_libdir}/llvm/libLLVM-%{major}.so %{buildroot}%{_libdir}
|
||||
mv %{buildroot}%{_libdir}/llvm/libLLVM-%{major}.%{minor_ver}.so %{buildroot}%{_libdir}
|
||||
ln -s libLLVM-%{major}.so %{buildroot}%{_libdir}/libLLVM.so
|
||||
ln -s llvm/LLVMgold.so %{buildroot}%{_libdir}/
|
||||
ln -s llvm/libLTO.so %{buildroot}%{_libdir}/
|
||||
|
@ -497,6 +499,7 @@ done
|
|||
%if %{with clang}
|
||||
# Versionize libclang.so (patch0 makes the same change to soname) and move it to standard path.
|
||||
mv %{buildroot}%{_libdir}/llvm/libclang.so %{buildroot}%{_libdir}/libclang-%{clang_major}.so
|
||||
ln -sf libclang-%{clang_major}.so %{buildroot}%{_libdir}/libclang-%{clang_major}.%{minor_ver}.so
|
||||
ln -s libclang-%{clang_major}.so %{buildroot}%{_libdir}/libclang.so
|
||||
ln -s ../libclang.so %{buildroot}%{_libdir}/llvm/libclang.so
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue