Merge branch 'master' into llvm9
This commit is contained in:
@@ -1755,7 +1755,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");
|
||||
|
||||
Reference in New Issue
Block a user