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:
Francois Gouget 2002-12-18 02:22:12 +00:00 committed by Alexandre Julliard
parent 01bdccbc5d
commit 95217843d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;