Remake the way dynamic zlib is loaded
authorRichard Levitte <levitte@openssl.org>
Tue, 12 Apr 2016 14:12:53 +0000 (16:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Apr 2016 09:36:46 +0000 (11:36 +0200)
commit5a5c0b953f8f97b4e604da494a65de034bbaaceb
tree1efab2a23a5c94082c6ef3b8fce7eadf396db832
parent0c9b1534265a59d099886fc916b859e55d268d8b
Remake the way dynamic zlib is loaded

Instead of absolute hard coding of the libz library name, have it use
the macro LIBZ, which is set to defaults we know in case it's
undefined.

This allows our configuration to set something that's sane on current
or older platforms, and allows the user to override it by defining
LIBZ themselves.

Reviewed-by: Matt Caswell <matt@openssl.org>
Configurations/10-main.conf
crypto/comp/c_zlib.c