From 4e84de07ca69642c79a34bcfd8d4bcf61256a660 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 30 Oct 2006 19:45:18 +0000 Subject: [PATCH] fixed TEMP_MSVC2005 test git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4799 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Math/SConscript | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/Contrib/Math/SConscript b/Contrib/Math/SConscript index ee7ea215..b846c099 100644 --- a/Contrib/Math/SConscript +++ b/Contrib/Math/SConscript @@ -1,19 +1,10 @@ target = 'Math' -if ['TEMP_MSVC2005']: - files = Split(""" - Source/Math.c - Source/MyMath.c - Source/plugin.c - Source/mathcrtmt.lib - """) -else: - files = Split(""" - Source/Math.c - Source/MyMath.c - Source/plugin.c - Source/mathcrt.lib - """) +files = Split(""" + Source/Math.c + Source/MyMath.c + Source/plugin.c +""") libs = Split(""" kernel32 @@ -32,4 +23,9 @@ docs = Split(""" 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'])