canonicalStaticLibraryName function
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());
}