pub fn resolve_library( libs: &[impl AsRef<Path>], source: impl AsRef<Path>) -> Option<PathBuf>
Returns the path to the library if the source path is in fact determined to be a library path, and it exists.