commit d8b4314eadac7c69e0fecf8e3649f7eb5891b45c
Author: Vascom <vascom2(a)gmail.com>
Date: Mon Oct 3 17:05:19 2016 +0300
Correct use of macro for ARM builds.
simplescreenrecorder.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index 3e484ad..227686b 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -36,11 +36,12 @@ It's 'simple' in the sense that it's easier to use
than ffmpeg/avconv or VLC
%build
export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L libavformat libavcodec libavutil
libswscale`"
export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat libavcodec
libavutil libswscale`"
-%ifarch %{arm}
- %configure --disable-static --disable-x86-asm --disable-glinjectlib
-%else
- %configure --disable-static
+%configure --disable-static \
+%ifarch %{arm} aarch64
+ --disable-x86-asm \
+ --disable-glinjectlib \
%endif
+%nil
%make_build
@@ -49,8 +50,7 @@ export CPPFLAGS="$CPPFLAGS `pkg-config --cflags-only-I libavformat
libavcodec li
rm -f %{buildroot}%{_libdir}/*.la
mkdir -p %{buildroot}%{_libdir}/%{name}
-%ifarch %{arm}
-%else
+%ifnarch %{arm} aarch64
mv %{buildroot}%{_libdir}/lib%{shortname}-glinject.so
%{buildroot}%{_libdir}/%{name}/lib%{shortname}-glinject.so
%endif