diff --git a/build.rs b/build.rs index ac5fbf6..8e73fda 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,7 @@ fn link_vcpkg(mut path: PathBuf, name: &str) -> PathBuf { } else if target_os == "macos" && target_arch == "arm64" { "arm64-osx".to_owned() } else if target_os == "windows" { - "x64-windows-static".to_owned() + format!("{}-windows-static", target_arch) } else { format!("{}-{}", target_arch, target_os) };