parent
feab78785b
commit
5de951d8c1
|
@ -38,12 +38,11 @@ error_code ELFFileNode::parse(const LinkingContext &ctx,
|
|||
f.release();
|
||||
// Add all members to _files vector
|
||||
return archive->parseAllMembers(_files);
|
||||
} else {
|
||||
}
|
||||
// if --whole-archive is around non-archive, just use it as normal.
|
||||
_files.push_back(std::move(f));
|
||||
return error_code::success();
|
||||
}
|
||||
}
|
||||
return ctx.registry().parseFile(_buffer, _files);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue