fixed TEMP_MSVC2005 test
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4799 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
913e92d1f4
commit
4e84de07ca
1 changed files with 10 additions and 14 deletions
|
@ -1,19 +1,10 @@
|
||||||
target = 'Math'
|
target = 'Math'
|
||||||
|
|
||||||
if ['TEMP_MSVC2005']:
|
files = Split("""
|
||||||
files = Split("""
|
Source/Math.c
|
||||||
Source/Math.c
|
Source/MyMath.c
|
||||||
Source/MyMath.c
|
Source/plugin.c
|
||||||
Source/plugin.c
|
""")
|
||||||
Source/mathcrtmt.lib
|
|
||||||
""")
|
|
||||||
else:
|
|
||||||
files = Split("""
|
|
||||||
Source/Math.c
|
|
||||||
Source/MyMath.c
|
|
||||||
Source/plugin.c
|
|
||||||
Source/mathcrt.lib
|
|
||||||
""")
|
|
||||||
|
|
||||||
libs = Split("""
|
libs = Split("""
|
||||||
kernel32
|
kernel32
|
||||||
|
@ -32,4 +23,9 @@ docs = Split("""
|
||||||
|
|
||||||
Import('BuildPlugin env')
|
Import('BuildPlugin env')
|
||||||
|
|
||||||
|
if env['TEMP_MSVC2005']:
|
||||||
|
files += ['Source/mathcrtmt.lib']
|
||||||
|
else:
|
||||||
|
files += ['Source/mathcrt.lib']
|
||||||
|
|
||||||
BuildPlugin(target, files, libs, examples, docs, nodeflib = False, flags = ['$CPP_FLAG'])
|
BuildPlugin(target, files, libs, examples, docs, nodeflib = False, flags = ['$CPP_FLAG'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue