From 05c26f9eb08d2684848c8a8ae93a2617f417d842 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 21 Apr 2021 19:25:09 +0200 Subject: [PATCH] fix(clipboard): add missing linking configuration for Windows --- espanso-clipboard/build.rs | 1 + 1 file changed, 1 insertion(+) 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++"); }