summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/build.rs b/build.rs
index 1467f4c..0f56e17 100644
--- a/build.rs
+++ b/build.rs
@@ -27,13 +27,9 @@ fn main() {
build.compile("libsuicidekit_c");
-
- #[cfg(target_os = "linux")]
- {
-
- println!("cargo:rustc-link-lib=asound");
- println!("cargo:rustc-link-lib=pthread");
- }
+ println!("cargo:rustc-link-lib=asound");
+ println!("cargo:rustc-link-lib=X11");
+ println!("cargo:rustc-link-lib=pthread");
}