diff --git a/lld.spec b/lld.spec index d120b8a..b758807 100644 --- a/lld.spec +++ b/lld.spec @@ -189,7 +189,7 @@ fi %check %if %{with check} -%cmake_build --target check-lld +LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %cmake_build --target check-lld %endif %if %{without compat_build}