if (m/lib.*\.a$/ && ! m/.*_g\.a$/) {
# Is it a binary file, or something else (maybe a liner
# script on Hurd, for example? I don't use file, because
- # file returns a varity of things on static libraries.
+ # file returns a variety of things on static libraries.
if (-B $_) {
push @static_libs, $fn;
return;