From 51d8e5ea866a7d606e4f2aa5e45c2f7df2270ace Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 24 Oct 2016 15:11:29 +0200 Subject: [PATCH] Windows: use default ZLIB1 unless --with-zlib-lib is set Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/1772) (cherry picked from commit 475592e2419c5cb3098dfea4c9229d0c09ea7010) --- Configurations/00-base-templates.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Configurations/00-base-templates.conf b/Configurations/00-base-templates.conf index 566b89b835..3455b3ace8 100644 --- a/Configurations/00-base-templates.conf +++ b/Configurations/00-base-templates.conf @@ -80,10 +80,11 @@ sub { unless ($disabled{zlib}) { if (defined($disabled{"zlib-dynamic"})) { - return $withargs{zlib_lib}; + return $withargs{zlib_lib} // "ZLIB1"; } } - return (); }, + return (); + }, ld => "link", lflags => "/nologo", -- 2.25.1