Fix compat build symlinks

Backport from llvm14 package.
This commit is contained in:
Nikita Popov 2022-09-13 18:04:18 +02:00
parent 81e2995efc
commit 5f0a6388b3

View File

@ -368,7 +368,7 @@ ln -s -t %{buildroot}%{_libdir}/bfd-plugins/ ../LLVMgold.so
# Add version suffix to binaries # Add version suffix to binaries
for f in %{buildroot}/%{install_bindir}/*; do for f in %{buildroot}/%{install_bindir}/*; do
filename=`basename $f` filename=`basename $f`
ln -s ../../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix} ln -s ../../%{install_bindir}/$filename %{buildroot}/%{_bindir}/$filename%{exec_suffix}
done done
# Move header files # Move header files