libraryFileName method

String libraryFileName(
  1. String name,
  2. LinkMode linkMode
)

The default library file name on this os.

Implementation

String libraryFileName(String name, LinkMode linkMode) {
  if (linkMode is DynamicLoading) {
    return dylibFileName(name);
  }
  assert(linkMode is StaticLinking);
  return staticlibFileName(name);
}