From cf0fc57e5e1b99c83dd659b95f481b01efe76ea7 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Wed, 5 Nov 2025 16:54:29 +0300 Subject: Removed unused files, fixed issue with gui-destroyer where always thinked it run with root. Implementing `makepkg build` check in gh actions. --- build.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'build.rs') diff --git a/build.rs b/build.rs index ffb62eb..698424e 100644 --- a/build.rs +++ b/build.rs @@ -35,7 +35,10 @@ fn main() { let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); println!("cargo:rustc-link-search=native={}", out_dir.display()); + + println!("cargo:rustc-link-arg=-Wl,--whole-archive"); println!("cargo:rustc-link-lib=static=suicidekit_c"); + println!("cargo:rustc-link-arg=-Wl,--no-whole-archive"); println!("cargo:rustc-link-lib=asound"); -- cgit v1.2.3