mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
Add mingw and msvcrt implicit libraries only if it is a Win32 target
svn path=/trunk/; revision=29434
This commit is contained in:
parent
c24dcf1da0
commit
147f7c934c
|
@ -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" )
|
||||
|
|
Loading…
Reference in a new issue