mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
removed mingw dependency
This commit is contained in:
parent
3be53f0e29
commit
495882bcf7
@ -37,15 +37,6 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, c: *std.Build.
|
|||||||
});
|
});
|
||||||
c.addIncludePath(raylib.path(raylib.builder.h_dir));
|
c.addIncludePath(raylib.path(raylib.builder.h_dir));
|
||||||
c.linkLibrary(raylib.artifact("raylib"));
|
c.linkLibrary(raylib.artifact("raylib"));
|
||||||
if (target.result.os.tag == .windows) {
|
|
||||||
if (builtin.os.tag != .windows) {
|
|
||||||
// cross compiling
|
|
||||||
c.addLibraryPath(.{ .cwd_relative = "/usr/x86_64-w64-mingw32/lib" });
|
|
||||||
c.addSystemIncludePath(.{ .cwd_relative = "/usr/x86_64-w64-mingw32/include" });
|
|
||||||
}
|
|
||||||
c.linkSystemLibrary("winmm");
|
|
||||||
c.linkSystemLibrary("gdi32");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// For the test architecture, we specify the target Lua version we so desire.
|
// For the test architecture, we specify the target Lua version we so desire.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user