Skip to content

Commit 89f3ebe

Browse files
authored
fix windows build by adding a library (#1488)
1 parent 1eafd6f commit 89f3ebe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdl2-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ fn link_sdl2(target_os: &str) {
291291
println!("cargo:rustc-link-lib=dinput8");
292292
println!("cargo:rustc-link-lib=dxguid");
293293
println!("cargo:rustc-link-lib=setupapi");
294+
println!("cargo:rustc-link-lib=advapi32");
294295
} else if target_os == "darwin" {
295296
println!("cargo:rustc-link-lib=framework=Cocoa");
296297
println!("cargo:rustc-link-lib=framework=IOKit");

0 commit comments

Comments
 (0)