glfw: link libc
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c4d4953f28
commit
161e07575a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue