diff options
Diffstat (limited to '')
-rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig b/build.zig index 82f6ce3..9a66a59 100644 --- a/build.zig +++ b/build.zig @@ -22,6 +22,10 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); + // linking for linux only + // TODO: link for mac later + exe.linkSystemLibrary("SDL2"); + exe.linkLibC(); // This declares intent for the executable to be installed into the // standard location when the user invokes the "install" step (the default // step when running `zig build`). |