authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2020-12-30 13:37:13+01:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2020-12-31 10:19:04+01:00
logfa28f7006ddba699048c54a363244dcad49af1e2
tree17d38d7256502ba12410f7b2de72b2618b96c1ad
parent9318656ce297de09b1247fde300ad2f794d51feb

macho: fix bundle name to .dSYM


1 files changed, 2 insertions(+), 2 deletions(-)

src/link/MachO.zig+2-2
...@@ -299,8 +299,8 @@ pub fn openPath(allocator: *Allocator, sub_path: []const u8, options: link.Optio...@@ -299,8 +299,8 @@ pub fn openPath(allocator: *Allocator, sub_path: []const u8, options: link.Optio
299299
300 self.base.file = file;300 self.base.file = file;
301301
302 // Create dSym bundle.302 // Create dSYM bundle.
303 const d_sym_path = try fmt.allocPrint(allocator, "{}.dSym/Contents/Resources/DWARF/", .{sub_path});303 const d_sym_path = try fmt.allocPrint(allocator, "{}.dSYM/Contents/Resources/DWARF/", .{sub_path});
304 defer allocator.free(d_sym_path);304 defer allocator.free(d_sym_path);
305 var d_sym_bundle = try options.emit.?.directory.handle.makeOpenPath(d_sym_path, .{});305 var d_sym_bundle = try options.emit.?.directory.handle.makeOpenPath(d_sym_path, .{});
306 defer d_sym_bundle.close();306 defer d_sym_bundle.close();