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 c4d4953f28
commit 161e07575a

View file

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