Skip to content

Commit dfde62b

Browse files
committed
link sample addon with libc
1 parent f5bf9b3 commit dfde62b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ pub fn build(b: *std.Build) void {
3030

3131
// important
3232
sample_addon.linker_allow_shlib_undefined = true;
33+
sample_addon.linkLibC();
3334

3435
const install_step = b.getInstallStep();
3536

0 commit comments

Comments
 (0)