ide: MSC15 builder fix

git-svn-id: svn://ultimatepp.org/upp/trunk@8940 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-09-17 06:51:26 +00:00
parent 4a4c510d1e
commit 6814515e33

View file

@ -644,9 +644,11 @@ bool MscBuilder::Link(const Vector<String>& linkfile, const String& linkoptions,
link << " -subsystem:windowsce,4.20 /ARMPADCODE -NODEFAULTLIB:\"oldnames.lib\" ";
else
if(HasFlag("GUI") || IsMscArm())
link << (HasFlag("WIN32") ? " -subsystem:windows,5.01" : " -subsystem:windowsce"); //,5.01 needed to support WindowsXP
link << " -subsystem:windows";
else
link << " -subsystem:console,5.01"; //,5.01 needed to support WindowsXP
link << " -subsystem:console";
if(!IsMsc64())
link << ",5.01"; //,5.01 needed to support WindowsXP
if(createmap)
link << " -MAP";
if(HasFlag("DLL"))