Commit fa28f7006d

Jakub Konka <kubkon@jakubkonka.com>
2020-12-30 13:37:13
macho: fix bundle name to .dSYM
1 parent 9318656
Changed files (1)
src
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();