summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
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());