Rename argument lshcore to shcore build.zig

This commit is contained in:
haxsam 2026-04-18 15:28:29 +02:00
commit c3fcdcddaa
No known key found for this signature in database

View file

@ -84,11 +84,11 @@ pub const emsdk = struct {
}
};
pub fn linkWindows(mod: *std.Build.Module, opengl: bool, comptime lshcore: bool) void {
pub fn linkWindows(mod: *std.Build.Module, opengl: bool, comptime shcore: bool) void {
if (opengl) mod.linkSystemLibrary("opengl32", .{});
mod.linkSystemLibrary("winmm", .{});
mod.linkSystemLibrary("gdi32", .{});
if (lshcore) mod.linkSystemLibrary("shcore", .{});
if (shcore) mod.linkSystemLibrary("shcore", .{});
}
fn findWaylandScanner(b: *std.Build) void {