From 97dd5224768bbd6003dbad76ee37967b17711ecd Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 31 Jan 2020 10:14:53 -0800 Subject: environment: Be stricter about detecting icl Only detect a compiler as icl if the name is "icl" or "icl.exe" --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/environment.py') 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: -- cgit v1.1