potentially a better check for MSVC

This commit is contained in:
Paul Davis 2014-12-17 14:09:18 -05:00
parent 9e67d18ad8
commit a280f28af9
1 changed files with 1 additions and 1 deletions

View File

@ -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':