From a280f28af9a9fbfac00f933be74e8d923bd92620 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 17 Dec 2014 14:09:18 -0500 Subject: [PATCH] potentially a better check for MSVC --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 4554ac746f..2187e6cfd7 100644 --- a/wscript +++ b/wscript @@ -259,7 +259,7 @@ int main() { return 0; }''', compiler_name = 'clang-darwin' else: compiler_name = 'clang' - elif conf.env['CC'][0].find ('msvc') != -1: + elif conf.env['MSVC_COMPILER']: compiler_name = 'msvc' else: if platform == 'darwin':