diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-05 16:54:29 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-05 16:54:29 +0300 |
| commit | cf0fc57e5e1b99c83dd659b95f481b01efe76ea7 (patch) | |
| tree | 6c1d2a5844d01a2e5551db64b333257488c4bbd4 /build.rs | |
| parent | b7d1b8f463750eff0393520a49b062030c13b387 (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.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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"); |
