summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 428903c..8c9cdf9 100644
--- a/build.zig
+++ b/build.zig
@@ -8,7 +8,8 @@ pub fn build(b: *std.build.Builder) void {
exe.setTarget(target);
exe.setBuildMode(mode);
exe.install();
- exe.linkSystemLibrary("sdl2");
+ exe.linkSystemLibrary("SDL2");
+ exe.linkSystemLibrary("c");
const run_cmd = exe.run();
run_cmd.step.dependOn(b.getInstallStep());