summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-07-19 12:37:34 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-07-19 12:37:34 -0500
commit8034536054b4fcd94809bde379ecc5e2d6a61647 (patch)
tree48b8e8881da69217102db46b2b4168e849047d7b /var
parentafa4cdc2d876fa9d4743813f7961661875430df1 (diff)
downloadspack-8034536054b4fcd94809bde379ecc5e2d6a61647.tar.gz
spack-8034536054b4fcd94809bde379ecc5e2d6a61647.tar.bz2
spack-8034536054b4fcd94809bde379ecc5e2d6a61647.tar.xz
spack-8034536054b4fcd94809bde379ecc5e2d6a61647.zip
Fix shared object suffix for macOS
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/armadillo/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/armadillo/package.py b/var/spack/repos/builtin/packages/armadillo/package.py
index 5043a6a212..4356f60aca 100644
--- a/var/spack/repos/builtin/packages/armadillo/package.py
+++ b/var/spack/repos/builtin/packages/armadillo/package.py
@@ -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