diff options
author | Andy Polyakov <appro@openssl.org> | 2018-03-09 17:28:06 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-03-10 16:26:35 +0100 |
commit | 78a50c7524e86137e4db3d57d1a06eb573b26054 (patch) | |
tree | 18538463e413b1298bbf5520dacacb8ded7f283e /Configurations/00-base-templates.conf | |
parent | a23f03166e0ec49ac09b3671e7ab4ba4fa57d42a (diff) |
Configurations/10-main.conf: VC-<target> cleanups.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5574)
Diffstat (limited to 'Configurations/00-base-templates.conf')
-rw-r--r-- | Configurations/00-base-templates.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf index a1837ca291..c074bd6e21 100644 --- a/Configurations/00-base-templates.conf +++ b/Configurations/00-base-templates.conf @@ -109,6 +109,15 @@ my %targets=( inherit_from => [ "BASE_common" ], template => 1, + lib_defines => + sub { + my @defs = (); + unless ($disabled{"zlib-dynamic"}) { + my $zlib = $withargs{zlib_lib} // "ZLIB1"; + push @defs, quotify("perl", 'LIBZ="' . $zlib . '"'); + } + return [ @defs ]; + }, ex_libs => sub { unless ($disabled{zlib}) { |