diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 2 |
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 1b5f0de186..3bdee89feb 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -316,7 +316,7 @@ class Petsc(Package): if 'zlib' in spec: options.extend([ '--with-zlib-include=%s' % spec['zlib'].prefix.include, - '--with-zlib-lib=%s' % spec['zlib'].libs.ld_flags, + '--with-zlib-lib=%s' % spec['zlib'].libs.joined(), '--with-zlib=1' ]) else: |