mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
parent
5a0275c247
commit
3f7f520036
@ -1753,7 +1753,7 @@ static void construct_linker_job_elf(LinkJob *lj) {
|
||||
|
||||
|
||||
// libc dep
|
||||
if (g->libc_link_lib != nullptr) {
|
||||
if (g->libc_link_lib != nullptr && g->out_type != OutTypeObj) {
|
||||
if (g->libc != nullptr) {
|
||||
if (!g->have_dynamic_link) {
|
||||
lj->args.append("--start-group");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user