correct with-xxx-lib= options (#12964)

This commit is contained in:
Jaroslav Hron 2019-09-28 20:39:45 +02:00 committed by Adam J. Stewart
parent 86a85b7eb2
commit 7e9365036f

View File

@ -316,7 +316,7 @@ def install(self, spec, prefix):
if 'zlib' in spec: if 'zlib' in spec:
options.extend([ options.extend([
'--with-zlib-include=%s' % spec['zlib'].prefix.include, '--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' '--with-zlib=1'
]) ])
else: else: