From 7e7e9b1ee56277fce373ccf51902a9a0218adabe Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 28 May 2019 16:32:54 +0300 Subject: [PATCH] Help a build script to recognize right lib prefix for aarch64 and ppc64le. --HG-- branch : develop --- dist/rpm/valentina.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index bc8b43160..aacf9a8b9 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -103,11 +103,11 @@ a unique pattern making tool. %build %if 0%{?suse_version} >= 1315 -qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" +qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %else %if 0%{?mageia} >= 6 -qmake PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" +qmake PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %else qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %endif