(self)
| 196 | return opt |
| 197 | |
| 198 | def get_libraries(self): |
| 199 | opt = [] |
| 200 | d = self.get_libgcc_dir() |
| 201 | if d is not None: |
| 202 | g2c = self.g2c + '-pic' |
| 203 | f = self.static_lib_format % (g2c, self.static_lib_extension) |
| 204 | if not os.path.isfile(os.path.join(d, f)): |
| 205 | g2c = self.g2c |
| 206 | else: |
| 207 | g2c = self.g2c |
| 208 | |
| 209 | if g2c is not None: |
| 210 | opt.append(g2c) |
| 211 | c_compiler = self.c_compiler |
| 212 | if sys.platform == 'win32' and c_compiler and \ |
| 213 | c_compiler.compiler_type == 'msvc': |
| 214 | opt.append('gcc') |
| 215 | if sys.platform == 'darwin': |
| 216 | opt.append('cc_dynamic') |
| 217 | return opt |
| 218 | |
| 219 | def get_flags_debug(self): |
| 220 | return ['-g'] |
no test coverage detected