added BUILD_WITH_STATIC_CRT option for static linking with CRT on MSVC

This commit is contained in:
Alexander Shishkov
2011-06-06 10:26:59 +00:00
parent 3956f54040
commit 97ae8f7af7
2 changed files with 51 additions and 0 deletions

View File

@@ -528,7 +528,9 @@ That's all there is to it!
#if defined _MSC_VER && _MSC_VER >= 1200
#if !defined(_MT) || defined(_DLL)
extern "C" { __declspec(dllexport) unsigned int __lc_codepage = 0; }
#endif
#pragma comment(lib, "libgcc_.a")
#pragma comment(lib, "libmingwex_.a")