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:
parent
f53be46186
commit
a8bf49b4a1
@ -94,6 +94,8 @@ def install(self, spec, prefix):
|
|||||||
config = Executable('./config')
|
config = Executable('./config')
|
||||||
config('--prefix=%s' % prefix,
|
config('--prefix=%s' % prefix,
|
||||||
'--openssldir=%s' % join_path(prefix, 'etc', 'openssl'),
|
'--openssldir=%s' % join_path(prefix, 'etc', 'openssl'),
|
||||||
|
'-I{0}'.format(self.spec['zlib'].prefix.include),
|
||||||
|
'-L{0}'.format(self.spec['zlib'].prefix.lib),
|
||||||
*options)
|
*options)
|
||||||
|
|
||||||
# Remove non-standard compiler options if present. These options are
|
# Remove non-standard compiler options if present. These options are
|
||||||
|
Loading…
Reference in New Issue
Block a user