summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-11-05 16:54:29 +0300
committerNamilskyy <alive6863@gmail.com>2025-11-05 16:54:29 +0300
commitcf0fc57e5e1b99c83dd659b95f481b01efe76ea7 (patch)
tree6c1d2a5844d01a2e5551db64b333257488c4bbd4 /build.rs
parentb7d1b8f463750eff0393520a49b062030c13b387 (diff)
Removed unused files, fixed issue with gui-destroyer where always thinked it run with root.
Implementing `makepkg build` check in gh actions.
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs3
1 files changed, 3 insertions, 0 deletions
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");