Correct atlas library path

This commit is contained in:
pcpa 2014-02-08 15:34:11 -02:00
parent 34b5d7d380
commit 613c79dd0b

View file

@ -666,8 +666,8 @@ sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
#------------------------------------------------------------------------
# ensure proper/preferred libatlas is in linker path
perl -pi -e 's|^(extra_link_args = ).*|$1\["-L%{_libdir}/atlas"\]|;' src/sage/misc/cython.py
%if 0%{?fedora}
perl -pi -e 's|return 'atlas'|return 'satlas'|;' src/sage/misc/cython.py
%if 0%{?fedora} > 20
perl -pi -e "s|return 'atlas'|return 'satlas'|;" src/sage/misc/cython.py
%endif
# some .c files are not (re)generated
find src/sage \( -name \*.pyx -o -name \*.pxd \) | xargs touch