| ... | ... | @@ -2386,7 +2386,9 @@ fn loadDso(elf: *Elf, path: std.Build.Cache.Path, fr: *Io.File.Reader) !void { |
| 2386 | 2386 | } |
| 2387 | 2387 | fn loadDsoExact(elf: *Elf, name: []const u8) !void { |
| 2388 | 2388 | log.debug("loadDsoExact({f})", .{std.zig.fmtString(name)}); |
| 2389 | | try elf.needed.put(elf.base.comp.gpa, try elf.string(.dynstr, name), {}); |
| 2389 | if (elf.si.dynamic != .null) { |
| 2390 | try elf.needed.put(elf.base.comp.gpa, try elf.string(.dynstr, name), {}); |
| 2391 | } |
| 2390 | 2392 | } |
| 2391 | 2393 | |
| 2392 | 2394 | /// Validates that the `std.elf.Ident` present at the start of `r` is a compatible link input. |