2019-03-25 18:15:25 +00:00
|
|
|
fn main() {
|
|
|
|
// xclip and xsel paths are inserted at compile time on Linux
|
2019-05-02 14:37:45 +00:00
|
|
|
#[cfg(all(
|
|
|
|
feature = "clipboard",
|
|
|
|
any(
|
|
|
|
target_os = "linux",
|
|
|
|
target_os = "freebsd",
|
|
|
|
target_os = "dragonfly",
|
|
|
|
target_os = "openbsd",
|
|
|
|
target_os = "netbsd",
|
|
|
|
)
|
|
|
|
))]
|
2019-03-25 18:15:25 +00:00
|
|
|
{
|
|
|
|
println!("cargo:rerun-if-env-changed=XCLIP_PATH");
|
|
|
|
println!("cargo:rerun-if-env-changed=XSEL_PATH");
|
|
|
|
}
|
|
|
|
}
|