zld: permit system static libs

This commits permits passing in static archives using the system
lib flag `-la`. With this commit, `zig ld` will now look firstly for
a dynamic library (which always takes precedence), and will fall back
on `liba.a` if the dylib is not found. The static archive is searched
for in the system lib search dirs like the dylibs.
2b0d322ea0Jakub Konka committed on 5/22/2021, 2:12:45 PMparentf4101c1
10 files changedLine totals unavailable