mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
Copy build system from master (1/?) - Fix workaround.c in lib.zig
This commit is contained in:
parent
e47623000d
commit
f77276d7a0
2
lib.zig
2
lib.zig
@ -105,7 +105,7 @@ pub fn Pkg(pkgdir: comptime []const u8) type {
|
||||
|
||||
pub fn addAsPackage(name: comptime []const u8, to: *LibExeObjStep) void {
|
||||
to.addPackagePath(name, pkgdir ++ "/lib/raylib-zig.zig");
|
||||
to.addCSourceFile("lib/workaround.c", &[_][]const u8{});
|
||||
to.addCSourceFile(pkgdir ++ "/lib/workaround.c", &[_][]const u8{});
|
||||
}
|
||||
pub const math = struct {
|
||||
pub fn addAsPackage(name: comptime []const u8, to: *LibExeObjStep) void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user