test/link/macho: fix naming in entry-in-dylib test

This commit is contained in:
Jakub Konka
2024-01-13 18:10:34 +01:00
parent 6cdcf61a5c
commit ffd7f7f642

View File

@@ -99,7 +99,7 @@ fn testDeadStrip(b: *std.Build, opts: Options) *Step {
fn testEntryPointDylib(b: *std.Build, opts: Options) *Step {
const test_step = addTestStep(b, "macho-entry-point-dylib", opts);
const dylib = addSharedLibrary(b, opts, .{ .name = "liba.dylib" });
const dylib = addSharedLibrary(b, opts, .{ .name = "a" });
addCSourceBytes(dylib,
\\extern int my_main();
\\int bootstrap() {