From d78173330438c43344f847d52af7e190411a24e3 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 11 Feb 2021 11:43:55 +0100 Subject: [PATCH] %check: use unstripped library from the build dir It results in more detailed backtraces in valgrind's output. --- curl.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curl.spec b/curl.spec index c229723..b008857 100644 --- a/curl.spec +++ b/curl.spec @@ -266,7 +266,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