13
0

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

View File

@ -259,7 +259,7 @@ int main() { return 0; }''',
compiler_name = 'clang-darwin' compiler_name = 'clang-darwin'
else: else:
compiler_name = 'clang' compiler_name = 'clang'
elif conf.env['CC'][0].find ('msvc') != -1: elif conf.env['MSVC_COMPILER']:
compiler_name = 'msvc' compiler_name = 'msvc'
else: else:
if platform == 'darwin': if platform == 'darwin':