Rename argument lshcore to shcore build.zig

This commit is contained in:
haxsam 2026-04-18 15:28:29 +02:00
parent 1bd658fed9
commit c3fcdcddaa
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

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 {

View File

@ -10,7 +10,7 @@
//* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
//*
//* Copyright (c) 2015 Ramon Santamaria (@raysan5)
//* Rewrite in Zig by HaxSam
//* Rewrite in Zig by HaxSam (@haxsam)
//*
//*******************************************************************************************