Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ pub fn build(b: *std.Build) void {
.name = name,
.root_module = exe_mod,
});
if (target.result.os.tag == .windows) {
// flecs includes a web based explorer which brings it's own http server.
// On windows this requires windows sockets and therefore ws2_32.
exe.root_module.linkSystemLibrary("ws2_32", .{});
}
b.installArtifact(exe);
examples_step.dependOn(&exe.step);

Expand Down