Fix LD_LIBRARY_PATH to be compatible with compat package

See https://src.fedoraproject.org/rpms/llvm11/pull-request/2
This commit is contained in:
serge-sans-paille 2021-03-31 08:48:12 +02:00
parent 2d7f1de486
commit f4bd827999

View File

@ -424,7 +424,7 @@ rm test/tools/llvm-readobj/ELF/dependent-libraries.test
rm test/tools/dsymutil/X86/swift-interface.test rm test/tools/dsymutil/X86/swift-interface.test
# FIXME: use %%cmake_build instead of %%__ninja # FIXME: use %%cmake_build instead of %%__ninja
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} %{__ninja} check-all -C %{_vpath_builddir} LD_LIBRARY_PATH=%{buildroot}/%{pkg_libdir} %{__ninja} check-all -C %{_vpath_builddir}
%ldconfig_scriptlets libs %ldconfig_scriptlets libs