From 86676c197bee0b2dd3d25e1b36d3788e30369039 Mon Sep 17 00:00:00 2001 From: BamButz Date: Sun, 16 Apr 2023 12:46:42 +0200 Subject: [PATCH] fix: added wldap32 to linked libraries for target_env msvc --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index c8f5a6b..2640f27 100644 --- a/build.rs +++ b/build.rs @@ -120,6 +120,7 @@ fn configured_by_vcpkg() -> bool { println!("cargo:rustc-link-lib=user32"); println!("cargo:rustc-link-lib=secur32"); println!("cargo:rustc-link-lib=shell32"); + println!("cargo:rustc-link-lib=wldap32"); }).is_ok() }