BUGFIX: typo from 32e827dcdc broke PGI compilers

pull/5611/head
Michael Hirsch, Ph.D 5 years ago committed by Jussi Pakkanen
parent 42c9dde58e
commit 041de5814f
  1. 2
      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

Loading…
Cancel
Save