diff options
Diffstat (limited to 'compilers.py')
-rw-r--r-- | compilers.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compilers.py b/compilers.py index 37b8c09..92437e1 100644 --- a/compilers.py +++ b/compilers.py @@ -1260,6 +1260,14 @@ class FortranCompiler(): def get_language(self): return self.language + def get_pic_args(self): + if self.gcc_type == GCC_MINGW: + return [] # On Windows gcc defaults to fpic being always on. + return ['-fPIC'] + + def get_std_shared_lib_link_args(self): + return ['-shared'] + def needs_static_linker(self): return True |