glfw: link libc
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0e9c54e529
commit
5ee5f14195
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