diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-04 22:04:48 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-04 22:05:30 +0300 |
| commit | 603a279424b25b8df0361853326b64e02fcf8fe2 (patch) | |
| tree | f9141201e66743e680637a774cd9f20b3c5696d4 | |
| parent | aeadb1b58e4f9ef2f6e4ee112408ca80f68398a8 (diff) | |
`build.rs`: Now all shared libraries will be linked for any target os.
| -rw-r--r-- | build.rs | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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"); } |
