summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 8cc961d361..c6cf666d96 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -303,7 +303,7 @@ class Petsc(Package):
'camd,amd,suitesparseconfig'
options.extend([
'--with-suitesparse-include=%s' % spec[ss_spec].prefix.include,
- '--with-suitesparse-lib=%s' % spec[ss_spec].libs.ld_flags,
+ '--with-suitesparse-lib=%s' % spec[ss_spec].libs.joined(),
'--with-suitesparse=1'
])
else: