OpenSSL: Fix Zlib (#5584)

Fix missing `-lz` on `make` of OpenSSL.
Spotted on a system without a system-wide zlib installation.
This commit is contained in:
Axel Huebl 2017-10-04 18:25:11 +02:00 committed by Christoph Junghans
parent f53be46186
commit a8bf49b4a1

View File

@ -94,6 +94,8 @@ def install(self, spec, prefix):
config = Executable('./config')
config('--prefix=%s' % prefix,
'--openssldir=%s' % join_path(prefix, 'etc', 'openssl'),
'-I{0}'.format(self.spec['zlib'].prefix.include),
'-L{0}'.format(self.spec['zlib'].prefix.lib),
*options)
# Remove non-standard compiler options if present. These options are