Fix LD_LIBRARY_PATH in %check
gettext-0.22 dropped the second copy of libintl in gettext-tools, and now relies on the copy in gettext-runtime. These are used for the tests, without which a number will fail.
This commit is contained in:
parent
6a2dc0e302
commit
4f470a9f50
@ -287,7 +287,7 @@ rm ${RPM_BUILD_ROOT}%{_emacs_sitelispdir}/%{name}/start-po.elc
|
||||
# this takes quite a lot of time to run
|
||||
|
||||
# adapt to rpath removal
|
||||
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$PWD/gettext-tools/intl/.libs
|
||||
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$PWD/gettext-runtime/intl/.libs
|
||||
|
||||
# override LIBUNISTRING to prevent reordering of lib objects
|
||||
make check LIBUNISTRING=-lunistring
|
||||
|
Loading…
Reference in New Issue
Block a user