environment: Be stricter about detecting icl

Only detect a compiler as icl if the name is "icl" or "icl.exe"
pull/6585/head
Dylan Baker 5 years ago
parent 8b98585e6c
commit 97dd522476
  1. 2
      mesonbuild/environment.py

@ -909,7 +909,7 @@ class Environment:
arg = '--vsn'
elif 'ccrx' in compiler_name:
arg = '-v'
elif 'icl' in compiler_name:
elif compiler_name in {'icl', 'icl.exe'}:
# if you pass anything to icl you get stuck in a pager
arg = ''
else:

Loading…
Cancel
Save