(self)
| 73 | return "-l" + lib |
| 74 | |
| 75 | def get_library_dirs(self): |
| 76 | opt = FCompiler.get_library_dirs(self) |
| 77 | d = os.environ.get('ABSOFT') |
| 78 | if d: |
| 79 | if self.get_version() >= '10.0': |
| 80 | # use shared libraries, the static libraries were not compiled -fPIC |
| 81 | prefix = 'sh' |
| 82 | else: |
| 83 | prefix = '' |
| 84 | if cpu.is_64bit(): |
| 85 | suffix = '64' |
| 86 | else: |
| 87 | suffix = '' |
| 88 | opt.append(os.path.join(d, '%slib%s' % (prefix, suffix))) |
| 89 | return opt |
| 90 | |
| 91 | def get_libraries(self): |
| 92 | opt = FCompiler.get_libraries(self) |
nothing calls this directly
no test coverage detected