From 756dd2943a4082e9037c99f0cc0567f9d6cdc59d Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sun, 30 Jun 2024 20:31:40 +0300 Subject: broken sdl sdl-window --- build.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.zig') 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`). -- cgit 1.4.1-2-gfad0