need /FIXED for VS2010 as well

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6568 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2014-10-30 03:13:08 +00:00
parent 2afe5ca95e
commit 9c2604e44d

View file

@ -38,8 +38,9 @@ if msvs_version < 10.0:
defenv.Append(LINKFLAGS = ['/opt:nowin98'])
if defenv['MSTOOLKIT'] and msvs_version < 8.0:
defenv['MSVCRT_FLAG'] = '/ML' # TK2003 does not have all libs
if msvs_version >= 11.0:
if msvs_version >= 10.0:
defenv.Append(LINKFLAGS = ['/FIXED']) # no relocations that our resource editor ignores
if msvs_version >= 11.0:
defenv['SUBSYS_CON'] = '/subsystem:console,5.01' # support windows xp
defenv['SUBSYS_WIN'] = '/subsystem:windows,5.01' # support windows xp