Skip to content

Commit

Permalink
tests: windows-socket library
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Sep 1, 2024
1 parent 66be8ce commit 32da885
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@ fn buildTests(b: *std.Build, options: struct {
exe.linkLibC();
}

// for boost::asio/boost::beast
if (exe.rootModuleTarget().os.tag == .windows)
exe.linkSystemLibrary("ws2_32");

b.installArtifact(exe);
}

0 comments on commit 32da885

Please sign in to comment.