From 22088d6674854b7e58e5dc8dd185d82e3e631e68 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 8 Dec 2006 12:22:13 +0000 Subject: [PATCH] fixed bug #1610773 - nsis-2.22 fails to install on Linux (mingw32) git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4840 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Math/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/Math/SConscript b/Contrib/Math/SConscript index b1ea36b1..5ed66e17 100644 --- a/Contrib/Math/SConscript +++ b/Contrib/Math/SConscript @@ -23,7 +23,7 @@ docs = Split(""" Import('BuildPlugin env') -if float(env['MSVS_VERSION'].replace('Exp','')) >= 8.0: +if env.has_key('MSVS_VERSION') and float(env['MSVS_VERSION'].replace('Exp','')) >= 8.0: files += ['Source/mathcrtmt.lib'] else: files += ['Source/mathcrt.lib']