Commit b1ffc2b8b3

Jakub Konka <kubkon@jakubkonka.com>
2024-01-15 00:18:50
test/link/elf: patch up relocatable test
1 parent a8b9f0c
Changed files (1)
test
link
test/link/elf.zig
@@ -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>