From 603a279424b25b8df0361853326b64e02fcf8fe2 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Tue, 4 Nov 2025 22:04:48 +0300 Subject: `build.rs`: Now all shared libraries will be linked for any target os. --- build.rs | 10 +++------- 1 file 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"); } -- cgit v1.2.3