From 10200524c2c878f1513269c673a025ec54e81621 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 3 Mar 2014 03:50:04 +0000 Subject: [PATCH] Fix linker error when using MSVC Regression was introduced in r2755. --- site_scons/buildutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_scons/buildutils.py b/site_scons/buildutils.py index e0862d2a6..0e7422790 100644 --- a/site_scons/buildutils.py +++ b/site_scons/buildutils.py @@ -555,7 +555,7 @@ def getSpawn(env): Adapted from http://www.scons.org/wiki/LongCmdLinesOnWin32 """ - if 'cmd.exe' not in env['SHELL'] or env['CXX'] == 'cl': + if 'cmd.exe' not in env['SHELL'] or env.subst('$CXX') == 'cl': return env['SPAWN'] try: