aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-07-05 16:35:30 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-06 00:26:59 +0300
commit041de5814f8624dffdccbf74c1a0c46d77d93e76 (patch)
treeb071dbf6480468f8ddc3a8ab19a3a3974bd47a26
parent42c9dde58e1c631d9c594977eec4bc0ef4fa5a0e (diff)
downloadmeson-041de5814f8624dffdccbf74c1a0c46d77d93e76.zip
meson-041de5814f8624dffdccbf74c1a0c46d77d93e76.tar.gz
meson-041de5814f8624dffdccbf74c1a0c46d77d93e76.tar.bz2
BUGFIX: typo from 32e827dcdc451e1c5 broke PGI compilers
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 948e225..a47208d 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -909,7 +909,7 @@ class Environment:
return PathScaleFortranCompiler(compiler, version, for_machine, is_cross, exe_wrap, full_version=full_version)
if 'PGI Compilers' in out:
- if self.machine[for_machine].is_darwin():
+ if self.machines[for_machine].is_darwin():
compiler_type = CompilerType.PGI_OSX
elif self.machines[for_machine].is_windows():
compiler_type = CompilerType.PGI_WIN