| ... | @@ -705,6 +705,7 @@ fn testEmitRelocatable(b: *Build, opts: Options) *Step { | ... | @@ -705,6 +705,7 @@ fn testEmitRelocatable(b: *Build, opts: Options) *Step { |
| 705 | \\ std.debug.print("foo={d}\n", .{foo()}); | 705 | \\ std.debug.print("foo={d}\n", .{foo()}); |
| 706 | \\} | 706 | \\} |
| 707 | }); | 707 | }); |
| | 708 | a_o.linkLibC(); |
| 708 | | 709 | |
| 709 | const b_o = addObject(b, opts, .{ .name = "b", .c_source_bytes = | 710 | const b_o = addObject(b, opts, .{ .name = "b", .c_source_bytes = |
| 710 | \\#include <stdio.h> | 711 | \\#include <stdio.h> |