fix logic for choosing when dynamic linking is required

When building object files or static libraries, link_mode can still be
static even if the OS needs libc for syscalls.
819625d274Andrew Kelley committed on 9/26/2020, 8:58:16 AMparent6af2990
2 files changedLine totals unavailable