aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-09-01 15:19:38 -0400
committerMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-09-05 11:50:17 -0400
commitc8d380e4ef11cd1a72c785418f41dd420fbf6d1b (patch)
tree228197eb356c56d842588e4c014945072e7ff994 /mesonbuild/compilers
parentcaec875fe1922b40037e1fd9229433ede64f9f25 (diff)
downloadmeson-c8d380e4ef11cd1a72c785418f41dd420fbf6d1b.zip
meson-c8d380e4ef11cd1a72c785418f41dd420fbf6d1b.tar.gz
meson-c8d380e4ef11cd1a72c785418f41dd420fbf6d1b.tar.bz2
PGI: use ar link wrapper on Windows
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/mixins/pgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/pgi.py b/mesonbuild/compilers/mixins/pgi.py
index c13c7bc..a9e30b6 100644
--- a/mesonbuild/compilers/mixins/pgi.py
+++ b/mesonbuild/compilers/mixins/pgi.py
@@ -56,7 +56,7 @@ class PGICompiler:
def get_pic_args(self) -> typing.List[str]:
# PGI -fPIC is Linux only.
- if self.compiler_type.is_linux_compiler():
+ if self.compiler_type.is_standard_compiler:
return ['-fPIC']
return []