From b038bcb93b7a3e254be3fb2f1979680ffa99aa48 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Sun, 14 Jan 2024 11:22:04 +0100 Subject: test/link/macho: test -r mode --- src/main.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index fd650384f9..857315346e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -2823,9 +2823,7 @@ fn buildOutputType( } // After this point, resolved_frameworks is used instead of frameworks. - if (create_module.resolved_options.output_mode == .Obj and - (target.ofmt == .coff or target.ofmt == .macho)) - { + if (create_module.resolved_options.output_mode == .Obj and target.ofmt == .coff) { const total_obj_count = create_module.c_source_files.items.len + @intFromBool(root_src_file != null) + create_module.rc_source_files.items.len + -- cgit v1.2.3