1
0
forked from rpms/curl

%check: use unstripped library from the build dir

It results in more detailed backtraces in valgrind's output.
This commit is contained in:
Kamil Dudka 2021-02-11 11:43:55 +01:00
parent 6ace03bc47
commit 996e51f2d6

View File

@ -268,7 +268,7 @@ sed -e 's/^runpath_var=.*/runpath_var=/' \
%check
# we have to override LD_LIBRARY_PATH because we eliminated rpath
LD_LIBRARY_PATH="$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH"
LD_LIBRARY_PATH="${PWD}/build-full/lib/.libs"
export LD_LIBRARY_PATH
# compile upstream test-cases