Skip to content

Commit b6d5975

Browse files
authored
Merge pull request #1143 from ehuss/fix-windows-advapi32
Fix advapi32 linking on Windows
2 parents e8c9126 + 892215d commit b6d5975

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libgit2-sys/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
252252
println!("cargo:rustc-link-lib=ole32");
253253
println!("cargo:rustc-link-lib=crypt32");
254254
println!("cargo:rustc-link-lib=secur32");
255+
println!("cargo:rustc-link-lib=advapi32");
255256
}
256257

257258
if target.contains("apple") {

0 commit comments

Comments
 (0)