diff --git a/espanso-clipboard/build.rs b/espanso-clipboard/build.rs index 2c105a8..6efb07a 100644 --- a/espanso-clipboard/build.rs +++ b/espanso-clipboard/build.rs @@ -29,6 +29,7 @@ fn cc_config() { println!("cargo:rustc-link-lib=static=espansoclipboard"); println!("cargo:rustc-link-lib=dylib=user32"); + println!("cargo:rustc-link-lib=dylib=gdi32"); #[cfg(target_env = "gnu")] println!("cargo:rustc-link-lib=dylib=stdc++"); }