MSVC_VERSION has Exp
prefix for express versions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4825 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
def7b5ee53
commit
f03e32fc2f
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ docs = Split("""
|
|||
|
||||
Import('BuildPlugin env')
|
||||
|
||||
if float(env['MSVS_VERSION']) >= 8.0:
|
||||
if float(env['MSVS_VERSION'].replace('Exp','')) >= 8.0:
|
||||
files += ['Source/mathcrtmt.lib']
|
||||
else:
|
||||
files += ['Source/mathcrt.lib']
|
||||
|
|
|
@ -12,7 +12,7 @@ defenv['CPP_FLAG'] = '/TP'
|
|||
defenv['CPP_REQUIRES_STDLIB'] = 0
|
||||
defenv['SUBSYS_CON'] = '/subsystem:console'
|
||||
|
||||
if float(defenv['MSVS_VERSION']) >= 8.0:
|
||||
if float(defenv['MSVS_VERSION'].replace('Exp','')) >= 8.0:
|
||||
defenv['EXCEPTION_FLAG'] = '/EHsc'
|
||||
defenv.Append(CCFLAGS = '/GS-')
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue