add sdl2 to build.zig

This commit is contained in:
jjanzen 2025-01-26 16:11:58 -06:00
parent 405398834c
commit 873f5db087

View file

@ -37,6 +37,7 @@ pub fn build(b: *std.Build) void {
}); });
exe.linkSystemLibrary("c"); exe.linkSystemLibrary("c");
exe.linkSystemLibrary("ncurses"); exe.linkSystemLibrary("ncurses");
exe.linkSystemLibrary("SDL2");
// This declares intent for the executable to be installed into the // This declares intent for the executable to be installed into the
// standard location when the user invokes the "install" step (the default // standard location when the user invokes the "install" step (the default