aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-01-31 10:14:53 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-02-03 09:14:46 -0800
commit97dd5224768bbd6003dbad76ee37967b17711ecd (patch)
treead4c064a9150f03c4dad78169bc0369b13ad3647 /mesonbuild/environment.py
parent8b98585e6c192b89d9b9c91b11a0a7ee7dcb186e (diff)
downloadmeson-97dd5224768bbd6003dbad76ee37967b17711ecd.zip
meson-97dd5224768bbd6003dbad76ee37967b17711ecd.tar.gz
meson-97dd5224768bbd6003dbad76ee37967b17711ecd.tar.bz2
environment: Be stricter about detecting icl
Only detect a compiler as icl if the name is "icl" or "icl.exe"
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index ef9480b..21d33a5 100644
--- a/mesonbuild/environment.py
+++ b/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: