Ensure cw32mt.lib and import32.lib are linked to in no-sock mode

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
This commit is contained in:
Tanzinul Islam 2020-11-28 22:56:53 +00:00 committed by Dmitry Belyavskiy
parent 55aa235e85
commit c4f4cb14e3

View File

@ -25,9 +25,8 @@ my %targets = (
ldpostoutflag => ",,",
ld_resp_delim => " +\n",
ex_libs => add(sub {
my @ex_libs = ();
push @ex_libs, ("cw32mt.lib", "import32.lib", "crypt32.lib",
"ws2_32.lib") unless $disabled{sock};
my @ex_libs = ("cw32mt.lib", "import32.lib");
push @ex_libs, ("crypt32.lib", "ws2_32.lib") unless $disabled{sock};
return join(" ", @ex_libs);
}),
AR => "tlib",