[packages/obs-studio] fix x32 build
jajcus
jajcus at pld-linux.org
Mon Jul 31 15:37:38 CEST 2017
commit c7025d0a693b2957e154e3de9e075f8f476578d0
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Mon Jul 31 15:37:13 2017 +0200
fix x32 build
obs-studio.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/obs-studio.spec b/obs-studio.spec
index fe21568..a9260b2 100644
--- a/obs-studio.spec
+++ b/obs-studio.spec
@@ -53,9 +53,14 @@ Pliki nagłówkowe biblioteki %{name}.
%build
install -d build
cd build
-%ifarch x86_64
+
+%if "%{_lib}" == "lib64"
export OBS_MULTIARCH_SUFFIX=64
%endif
+%if "%{_lib}" == "libx32"
+export OBS_MULTIARCH_SUFFIX=x32
+%endif
+
%cmake \
../
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/obs-studio.git/commitdiff/c7025d0a693b2957e154e3de9e075f8f476578d0
More information about the pld-cvs-commit
mailing list