diff options
author | makefunstuff <[email protected]> | 2024-06-30 19:31:40 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-30 19:31:40 +0200 |
commit | 756dd2943a4082e9037c99f0cc0567f9d6cdc59d (patch) | |
tree | 7054ffd9810642c32a6397070be2cea5ad7ea3e6 /build.zig | |
parent | 38ac26d900f63251529c318106b798769d96e137 (diff) | |
download | tinkerbunk-756dd2943a4082e9037c99f0cc0567f9d6cdc59d.tar.gz |
broken sdl sdl-window
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`). |