Copy build system from master (1/?) - Fix workaround.c in lib.zig

This commit is contained in:
Not-Nik 2020-12-22 16:01:12 +01:00
parent e47623000d
commit f77276d7a0
No known key found for this signature in database
GPG Key ID: 08BB71E672DB3BFD

View File

@ -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 {