Commit 95217843 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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.
parent 01bdccbc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment