1--- numpy/distutils/fcompiler/__init__.py.orig 2021-05-09 10:38:00 UTC 2+++ numpy/distutils/fcompiler/__init__.py 3@@ -171,7 +171,7 @@ class FCompiler(CCompiler): 4 # gnu95 compiler type when there are F90 sources. 5 suggested_f90_compiler = None 6 7- compile_switch = "-c" 8+ compile_switch = "-fPIC" 9 object_switch = "-o " # Ending space matters! It will be stripped 10 # but if it is missing then object_switch 11 # will be prefixed to object file name by 12