Skip to content

Commit

Permalink
build.zig fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jan 13, 2024
1 parent 5a86cab commit 69cd5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn buildLibSokol(b: *Build, options: LibSokolOptions) !*Build.Step.Compile {
if (try emsdkSetupStep(b, options.emsdk.?)) |emsdk_setup| {
lib.step.dependOn(&emsdk_setup.step);
}
// need to manualle add the Emscripten SDK system include path
// add the Emscripten system include seach path
const emsdk_sysroot = b.pathJoin(&.{ emsdkPath(b, options.emsdk.?), "upstream", "emscripten", "cache", "sysroot" });
const include_path = b.pathJoin(&.{ emsdk_sysroot, "include" });
lib.addSystemIncludePath(.{ .path = include_path });
Expand Down

0 comments on commit 69cd5ac

Please sign in to comment.