From 30cc0d3fe02e114f2b628b95562e53a9fe95d34c Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Mon, 16 Sep 2019 11:02:40 +0200 Subject: [PATCH] Fix #30 --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")]