fix(clipboard): add missing linking configuration for Windows

This commit is contained in:
Federico Terzi 2021-04-21 19:25:09 +02:00
parent 82096ad9fa
commit 05c26f9eb0

View File

@ -29,6 +29,7 @@ fn cc_config() {
println!("cargo:rustc-link-lib=static=espansoclipboard"); println!("cargo:rustc-link-lib=static=espansoclipboard");
println!("cargo:rustc-link-lib=dylib=user32"); println!("cargo:rustc-link-lib=dylib=user32");
println!("cargo:rustc-link-lib=dylib=gdi32");
#[cfg(target_env = "gnu")] #[cfg(target_env = "gnu")]
println!("cargo:rustc-link-lib=dylib=stdc++"); println!("cargo:rustc-link-lib=dylib=stdc++");
} }