Fix shared object suffix for macOS

This commit is contained in:
Adam J. Stewart 2016-07-19 12:37:34 -05:00
parent afa4cdc2d8
commit 8034536054

View file

@ -48,8 +48,8 @@ class Armadillo(Package):
def install(self, spec, prefix):
cmake_args = [
# ARPACK support
'-DARPACK_LIBRARY={0}/libarpack.so'.format(
spec['arpack-ng'].prefix.lib),
'-DARPACK_LIBRARY={0}/libarpack.{1}'.format(
spec['arpack-ng'].prefix.lib, dso_suffix),
# BLAS support
'-DBLAS_LIBRARY={0}'.format(spec['blas'].blas_shared_lib),
# LAPACK support