diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2023-01-16 22:36:21 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2023-01-16 22:36:21 +0100 |
commit | 23fcacdc0cea1c35554d16d41155264ea49cdab1 (patch) | |
tree | e282194119fe7758b06fe4383b61aca20aecc95d /build.zig | |
parent | 70ac042b7d69d1e9113fc6835859059040074edb (diff) | |
parent | df324bb48486d12291420d614b4069ebdf9ec5d8 (diff) |
Diffstat (limited to 'build.zig')
-rw-r--r-- | build.zig | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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()); |