Add mingw and msvcrt implicit libraries only if it is a Win32 target

svn path=/trunk/; revision=29434
This commit is contained in:
Hervé Poussineau 2007-10-07 12:28:18 +00:00
parent c24dcf1da0
commit 147f7c934c

View file

@ -2774,6 +2774,15 @@ MingwAddImplicitLibraries( Module &module )
{
Library* pLibrary;
if ( module.type != Win32DLL
&& module.type != Win32OCX
&& module.type != Win32CUI
&& module.type != Win32GUI )
{
// no implicit libraries
return;
}
if ( !module.isDefaultEntryPoint )
{
if ( module.GetEntryPoint(false) == "0" )