Loosen the search for older libclang_rt.profile

This commit is contained in:
Josh Stone 2023-10-05 15:45:24 -07:00
parent 0b6ffb1d4a
commit 4740f18b01
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ fi
%define profiler %{clang_resource_dir}/lib/%{_arch}-redhat-linux-gnu/libclang_rt.profile.a
%else
# The exact profiler path is version dependent..
%define profiler %(echo %{_libdir}/clang/*/lib/libclang_rt.profile-%{_arch}.a)
%define profiler %(echo %{_libdir}/clang/??/lib/libclang_rt.profile-*.a)
%endif
test -r "%{profiler}"