From 74d4ac7c7c9ebc3da0e52e4dac32c5d473eab0e4df5583d843d63a4bd5f2aa88 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Mon, 31 Aug 2020 15:45:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/heaptrack?expand=0&rev=14 --- heaptrack.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/heaptrack.spec b/heaptrack.spec index bd90dfd..3695941 100644 --- a/heaptrack.spec +++ b/heaptrack.spec @@ -85,8 +85,13 @@ A Qt5/KF5 based GUI for Heaptrack. # Disable building tests, they're not used and post-build-checks trips over it sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt +extra_options="" +%if "%{?_lib}" == "lib64" +extra_options="-DLIB_SUFFIX=64" +%endif + %build - %cmake_kf5 -d build -- -DLIB_INSTALL_DIR=%{_libdir} + %cmake_kf5 -d build -- $extra_options %cmake_build %install