Ensure cw32mt.lib and import32.lib are linked to in no-sock mode
@@ -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",
