aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-18 18:51:09 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-18 18:51:09 +0200
commit411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa (patch)
treeb60c62407eb2b0b71b046ed24021cdb445b8e15e
parent3b55f6de8c953335da19f1c6c5f823026845e0f2 (diff)
downloadmeson-411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa.zip
meson-411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa.tar.gz
meson-411e88a5ab06dfdc6817c03f7dc96defc3a5d6aa.tar.bz2
Fix PGI Fortran compiler detection.
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 44c5965..3231fa8 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -457,7 +457,7 @@ class Environment():
if 'PathScale EKOPath(tm)' in err:
return PathScaleFortranCompiler([compiler], version, is_cross, exe_wrap)
- if 'pgf90' in out:
+ if 'PGI Compilers' in out:
return PGIFortranCompiler([compiler], version, is_cross, exe_wrap)
if 'Open64 Compiler Suite' in err: