Fix Windows artifact name in build.zig instructions

This commit is contained in:
Merlyn Morgan-Graham 2025-03-22 17:48:16 -07:00
parent 56b987be70
commit 7697bec841

View file

@ -35,5 +35,5 @@ const lua_dep = b.dependency("lua", .{
.target = target, .target = target,
.release = optimize != .Debug, .release = optimize != .Debug,
}); });
const lua_lib = lua_dep.artifact("lua"); const lua_lib = lua_dep.artifact(if (target.result.os.tag == .windows) "lua54" else "lua");
``` ```