canonicalStaticLibraryName function

String canonicalStaticLibraryName(
  1. NativeTarget target,
  2. String libraryStem
)

Returns the canonical static library filename for a target and stem.

On Apple platforms, follows the lib<stem>.a convention.

Implementation

String canonicalStaticLibraryName(NativeTarget target, String libraryStem) {
  return target.os.libraryFileName(libraryStem, StaticLinking());
}