msvcmaker & msvcrt
Francois Gouget
fgouget at free.fr
Tue Dec 17 15:14:56 CST 2002
Changelog:
* tools/winapi/msvcmaker
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.
Index: tools/winapi/msvcmaker
===================================================================
RCS file: /home/wine/wine/tools/winapi/msvcmaker,v
retrieving revision 1.8
diff -u -r1.8 msvcmaker
--- tools/winapi/msvcmaker 30 Nov 2002 19:03:51 -0000 1.8
+++ tools/winapi/msvcmaker 17 Dec 2002 20:55:10 -0000
@@ -780,7 +780,7 @@
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;
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Hiroshima '45 - Czernobyl '86 - Windows '95
More information about the wine-patches
mailing list