fix(clipboard): fix linking error on test builds

This commit is contained in:
Federico Terzi 2021-03-20 10:16:50 +01:00
parent ea1479366e
commit de5ced12a3

View File

@ -54,6 +54,7 @@ fn cc_config() {
println!("cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu/"); println!("cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu/");
println!("cargo:rustc-link-lib=static=espansoclipboardx11"); println!("cargo:rustc-link-lib=static=espansoclipboardx11");
println!("cargo:rustc-link-lib=dylib=xcb"); println!("cargo:rustc-link-lib=dylib=xcb");
println!("cargo:rustc-link-lib=dylib=stdc++");
} else { } else {
// Nothing to compile on wayland // Nothing to compile on wayland
} }