commit fa28f7006ddba699048c54a363244dcad49af1e2 (tree)
parent 9318656ce297de09b1247fde300ad2f794d51feb
Author: Jakub Konka <kubkon@jakubkonka.com>
Date: Wed, 30 Dec 2020 13:37:13 +0100
macho: fix bundle name to .dSYM
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/link/MachO.zig b/src/link/MachO.zig
@@ -299,8 +299,8 @@ pub fn openPath(allocator: *Allocator, sub_path: []const u8, options: link.Optio
self.base.file = file;
- // Create dSym bundle.
- const d_sym_path = try fmt.allocPrint(allocator, "{}.dSym/Contents/Resources/DWARF/", .{sub_path});
+ // Create dSYM bundle.
+ const d_sym_path = try fmt.allocPrint(allocator, "{}.dSYM/Contents/Resources/DWARF/", .{sub_path});
defer allocator.free(d_sym_path);
var d_sym_bundle = try options.emit.?.directory.handle.makeOpenPath(d_sym_path, .{});
defer d_sym_bundle.close();