优化细节。
@ -87,8 +87,9 @@ def find_library(possible_lib_names, search_symbol, library_name):
else:
logging.warn('can\'t find symbol %s in %s', search_symbol,
path)
except ValueError as e:
except Exception:
logging.error(e)
if path == paths[-1]:
raise
return None