Windows: use default ZLIB1 unless --with-zlib-lib is set
authorRichard Levitte <levitte@openssl.org>
Mon, 24 Oct 2016 13:11:29 +0000 (15:11 +0200)
committerRichard Levitte <richard@levitte.org>
Sun, 6 Nov 2016 21:55:55 +0000 (22:55 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1772)
(cherry picked from commit 475592e2419c5cb3098dfea4c9229d0c09ea7010)

Configurations/00-base-templates.conf

index 566b89b83541f5ee0f38f1e9df26d4aca8e0a62e..3455b3ace8f5d49417bbe856bd0c235fc9013ee3 100644 (file)
             sub {
                 unless ($disabled{zlib}) {
                     if (defined($disabled{"zlib-dynamic"})) {
-                        return $withargs{zlib_lib};
+                        return $withargs{zlib_lib} // "ZLIB1";
                     }
                 }
-                return (); },
+                return ();
+            },
 
         ld              => "link",
         lflags          => "/nologo",