summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/lapack/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/packages/lapack/package.py b/var/spack/packages/lapack/package.py
index 682a0a1111..94c05d6173 100644
--- a/var/spack/packages/lapack/package.py
+++ b/var/spack/packages/lapack/package.py
@@ -37,7 +37,9 @@ class Lapack(Package):
depends_on('atlas')
def install(self, spec, prefix):
- cmake(".", '-DBLAS_LIBRARIES=f77blas;atlas', *std_cmake_args)
+ atlas_blas = spec['atlas'].prefix.lib + '/libf77blas.a'
+ atlas_lib = spec['atlas'].prefix.lib + "/libatlas.a"
+ cmake(".", '-DBLAS_LIBRARIES='+atlas_blas + ";" + atlas_lib, *std_cmake_args)
make()
make("install")