From 6094dac5f14c2ec8649be44d504aad95a42a1122 Mon Sep 17 00:00:00 2001 From: kayomn Date: Mon, 3 Oct 2022 23:59:09 +0100 Subject: [PATCH] Temporary fix for SDL2 symbols not loading at runtime --- build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig b/build.zig index 7eef4a8..2a81c07 100644 --- a/build.zig +++ b/build.zig @@ -13,6 +13,7 @@ pub fn build(builder: *std.build.Builder) void { ona_exe.install(); ona_exe.addIncludeDir("./ext"); ona_exe.linkSystemLibrary("SDL2"); + ona_exe.linkLibC(); const run_cmd = ona_exe.run();