test/link/elf: patch up relocatable test

This commit is contained in:
Jakub Konka 2024-01-15 00:18:50 +01:00
parent a8b9f0cf22
commit b1ffc2b8b3

View File

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