From c8d380e4ef11cd1a72c785418f41dd420fbf6d1b Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Sun, 1 Sep 2019 15:19:38 -0400 Subject: PGI: use ar link wrapper on Windows --- mesonbuild/compilers/mixins/pgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers') 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 [] -- cgit v1.1