From de5ced12a342d3844c2c024fa36a4b620f3a8287 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 20 Mar 2021 10:16:50 +0100 Subject: [PATCH] fix(clipboard): fix linking error on test builds --- espanso-clipboard/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/espanso-clipboard/build.rs b/espanso-clipboard/build.rs index 3d50903..572013c 100644 --- a/espanso-clipboard/build.rs +++ b/espanso-clipboard/build.rs @@ -54,6 +54,7 @@ fn cc_config() { println!("cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu/"); println!("cargo:rustc-link-lib=static=espansoclipboardx11"); println!("cargo:rustc-link-lib=dylib=xcb"); + println!("cargo:rustc-link-lib=dylib=stdc++"); } else { // Nothing to compile on wayland }