summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJaroslav Hron <jaroslav.hron@gmail.com>2019-09-28 20:39:45 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2019-09-28 13:39:45 -0500
commit7e9365036f81391abce15f47186e58ae31aadfd6 (patch)
tree80714c9d96e4147b033733c81cb4edeee2089b5a /var
parent86a85b7eb22ccf69489a4bfbd947da7dfedcf233 (diff)
downloadspack-7e9365036f81391abce15f47186e58ae31aadfd6.tar.gz
spack-7e9365036f81391abce15f47186e58ae31aadfd6.tar.bz2
spack-7e9365036f81391abce15f47186e58ae31aadfd6.tar.xz
spack-7e9365036f81391abce15f47186e58ae31aadfd6.zip
correct with-xxx-lib= options (#12964)
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 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: