From df324bb48486d12291420d614b4069ebdf9ec5d8 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Mon, 16 Jan 2023 22:12:40 +0100 Subject: you need to link c now adays --- build.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index bbd4531..8c9cdf9 100644 --- a/build.zig +++ b/build.zig @@ -9,6 +9,7 @@ pub fn build(b: *std.build.Builder) void { exe.setBuildMode(mode); exe.install(); exe.linkSystemLibrary("SDL2"); + exe.linkSystemLibrary("c"); const run_cmd = exe.run(); run_cmd.step.dependOn(b.getInstallStep()); -- cgit v1.2.3