Francois Gouget : msvcmaker: Link with msvcrt(d). dll rather than with the static C library.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 6 05:49:04 CST 2006


Module: wine
Branch: master
Commit: baf85ad931e4bd45cb2d670fab85d1eeb2c66684
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=baf85ad931e4bd45cb2d670fab85d1eeb2c66684

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec  6 12:04:55 2006 +0100

msvcmaker: Link with msvcrt(d).dll rather than with the static C library.

---

 tools/winapi/msvcmaker |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 25824f3..6ee5483 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -578,7 +578,7 @@ sub _generate_dsp($$) {
 		print OUT "# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od";
 		@defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _MBCS _LIB));
 	    } else {
-		print OUT "# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od";
+		print OUT "# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
 		@defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
 	    }
 	} else {
@@ -586,7 +586,7 @@ sub _generate_dsp($$) {
 		print OUT "# ADD BASE CPP /nologo /W3 /GX /O2";
 		@defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _MBCS _LIB));
 	    } else {
-		print OUT "# ADD BASE CPP /nologo /MT /W3 /GX /O2";
+		print OUT "# ADD BASE CPP /nologo /MD /W3 /GX /O2";
 		@defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS"));
 	    }
 	}
@@ -607,18 +607,18 @@ sub _generate_dsp($$) {
 	my @defines2;
 	if($debug) {
 	    if($lib) {
-		print OUT "# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od";
+		print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
 		@defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _LIB);
 	    } else {
-		print OUT "# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od";
+		print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od";
 		@defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 _DEBUG WIN32 _WINDOWS _MBCS _USRDLL);
 	    }
 	} else {
 	    if($lib) {
-		print OUT "# ADD CPP /nologo /MT /W3 /GX /O2";
+		print OUT "# ADD CPP /nologo /MD /W3 /GX /O2";
 		@defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _LIB);
 	    } else {
-		print OUT "# ADD CPP /nologo /MT /W3 /GX /O2";
+		print OUT "# ADD CPP /nologo /MD /W3 /GX /O2";
 		@defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 NDEBUG WIN32 _WINDOWS _MBCS _USRDLL);
 	    }
 	}




More information about the wine-cvs mailing list