zig/test/standalone/link_static_lib_as_system_lib
Jakub Konka 2b0d322ea0 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.
2021-05-22 16:12:45 +02:00
..
a.c zld: permit system static libs 2021-05-22 16:12:45 +02:00
a.h zld: permit system static libs 2021-05-22 16:12:45 +02:00
build.zig zld: permit system static libs 2021-05-22 16:12:45 +02:00
main.zig zld: permit system static libs 2021-05-22 16:12:45 +02:00