Skip to content

Commit e14bcdb

Browse files
committed
windows: link ws_32
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent efe17a9 commit e14bcdb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

framework_lib/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
fn main() {
2+
if cfg!(windows) {
3+
println!("cargo:rustc-link-lib=ws2_32");
4+
}
25
built::write_built_file().expect("Failed to acquire build-time information");
36
}

0 commit comments

Comments
 (0)