If static or shared libraries are available then return their info dictionary. Checks each library for shared or static.
(self, lib_dirs, libs, opt_libs=[])
| 1001 | return info |
| 1002 | |
| 1003 | def check_libs2(self, lib_dirs, libs, opt_libs=[]): |
| 1004 | """If static or shared libraries are available then return |
| 1005 | their info dictionary. |
| 1006 | |
| 1007 | Checks each library for shared or static. |
| 1008 | """ |
| 1009 | exts = self.library_extensions() |
| 1010 | info = self._check_libs(lib_dirs, libs, opt_libs, exts) |
| 1011 | if not info: |
| 1012 | log.info(' libraries %s not found in %s', ','.join(libs), |
| 1013 | lib_dirs) |
| 1014 | |
| 1015 | return info |
| 1016 | |
| 1017 | def _find_lib(self, lib_dir, lib, exts): |
| 1018 | assert is_string(lib_dir) |