glfw: link libc

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-11 14:56:16 -07:00 committed by Stephen Gutekanst
parent 0e9c54e529
commit 5ee5f14195

View file

@ -175,6 +175,7 @@ fn linkGLFW(b: *Builder, step: *std.build.LibExeObjStep, options: Options) void
switch (target.os.tag) {
.windows => {
// TODO(slimsag): create sdk-windows
step.linkSystemLibrary("c");
},
.macos => {
includeSdkMacOS(b, step);