The link command specifies which version of the C library to link with
(see /M[TD]d? option). So we must not explicitly link with 'msvcrt.lib'. Fixes the msvcrt test crashes.
This commit is contained in:
parent
01bdccbc5d
commit
95217843d5
|
@ -780,7 +780,7 @@ sub _generate_dsp {
|
|||
print OUT " /nologo";
|
||||
print OUT " libcmt.lib" if $project =~ /^ntdll$/; # FIXME: Kludge
|
||||
foreach my $import (@imports) {
|
||||
print OUT " $import.lib";
|
||||
print OUT " $import.lib" if ($import ne "msvcrt");
|
||||
}
|
||||
print OUT " /dll" if $dll;
|
||||
print OUT " /subsystem:console" if $console;
|
||||
|
|
Loading…
Reference in New Issue