(self)
| 965 | return self.get_libs(key, '') |
| 966 | |
| 967 | def library_extensions(self): |
| 968 | c = customized_ccompiler() |
| 969 | static_exts = [] |
| 970 | if c.compiler_type != 'msvc': |
| 971 | # MSVC doesn't understand binutils |
| 972 | static_exts.append('.a') |
| 973 | if sys.platform == 'win32': |
| 974 | static_exts.append('.lib') # .lib is used by MSVC and others |
| 975 | if self.search_static_first: |
| 976 | exts = static_exts + [so_ext] |
| 977 | else: |
| 978 | exts = [so_ext] + static_exts |
| 979 | if sys.platform == 'cygwin': |
| 980 | exts.append('.dll.a') |
| 981 | if sys.platform == 'darwin': |
| 982 | exts.append('.dylib') |
| 983 | return exts |
| 984 | |
| 985 | def check_libs(self, lib_dirs, libs, opt_libs=[]): |
| 986 | """If static or shared libraries are available then return |
no test coverage detected