summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-01-16 22:12:40 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-01-16 22:12:40 +0100
commitdf324bb48486d12291420d614b4069ebdf9ec5d8 (patch)
tree2b52ef97d9a8e008b9bbd6a90480554df09d9d97 /build.zig
parentb31f1d5379c61373f672fc689705acf902ad9cf9 (diff)
you need to link c now adays
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());