diff --git a/build.rs b/build.rs index 3d6ae2c..a415c03 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,7 @@ fn get_config() -> PathBuf { #[cfg(target_os = "windows")] fn print_config() { println!("cargo:rustc-link-lib=static=winbridge"); - println!("cargo:rustc-link-lib=static=user32"); // TODO: maybe dylib is better + println!("cargo:rustc-link-lib=dylib=user32"); } #[cfg(target_os = "linux")]