From f4bd82799970f2c9c17862b4253b4e685c4fb10f Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Wed, 31 Mar 2021 08:48:12 +0200 Subject: [PATCH] Fix LD_LIBRARY_PATH to be compatible with compat package See https://src.fedoraproject.org/rpms/llvm11/pull-request/2 --- llvm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index da5c0bb..019364a 100644 --- a/llvm.spec +++ b/llvm.spec @@ -424,7 +424,7 @@ rm test/tools/llvm-readobj/ELF/dependent-libraries.test rm test/tools/dsymutil/X86/swift-interface.test # 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