diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2020-01-31 10:14:53 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2020-02-03 09:14:46 -0800 |
| commit | 97dd5224768bbd6003dbad76ee37967b17711ecd (patch) | |
| tree | ad4c064a9150f03c4dad78169bc0369b13ad3647 | |
| parent | 8b98585e6c192b89d9b9c91b11a0a7ee7dcb186e (diff) | |
| download | meson-97dd5224768bbd6003dbad76ee37967b17711ecd.tar.gz | |
environment: Be stricter about detecting icl
Only detect a compiler as icl if the name is "icl" or "icl.exe"
| -rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index ef9480b69..21d33a5fd 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: |
