Author: hpoussin Date: Sun Oct 7 16:28:18 2007 New Revision: 29434
URL: http://svn.reactos.org/svn/reactos?rev=29434&view=rev Log: Add mingw and msvcrt implicit libraries only if it is a Win32 target
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw/... ============================================================================== --- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp (original) +++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Sun Oct 7 16:28:18 2007 @@ -2774,6 +2774,15 @@ { 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" )