summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2023-01-16 22:36:21 +0100
committerTom Barrett <tom@tombarrett.xyz>2023-01-16 22:36:21 +0100
commit23fcacdc0cea1c35554d16d41155264ea49cdab1 (patch)
treee282194119fe7758b06fe4383b61aca20aecc95d /build.zig
parent70ac042b7d69d1e9113fc6835859059040074edb (diff)
parentdf324bb48486d12291420d614b4069ebdf9ec5d8 (diff)
Merge remote-tracking branch 'origin/master' into changesHEADmaster
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());