Would this help?
This commit is contained in:
parent
6026e309fe
commit
c68c6ebb13
@ -325,11 +325,10 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Fix name of static library
|
# Fix name of static library
|
||||||
ls -lh %{buildroot}%{_libdir}
|
%ifarch armv7hl
|
||||||
for f in %{buildroot}%{_libdir}/*; do
|
suffix="_armv7"
|
||||||
file $f
|
%endif
|
||||||
done
|
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
|
||||||
slibname=`basename %{buildroot}%{_libdir}/libopenblas-*.so .so`
|
|
||||||
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
|
||||||
|
|
||||||
# Install the OpenMP library
|
# Install the OpenMP library
|
||||||
|
Loading…
Reference in New Issue
Block a user