From 996e51f2d669a34f7b629cfff1a58ca784ec9b59 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 21b3549..8fb7c0b 100644 --- a/curl.spec +++ b/curl.spec @@ -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