tenseleyflow/fussr / 7c88add

Browse files

v0.2.13: add zlib to link args for CachyOS/Arch compatibility

Authored by espadonne
SHA
7c88add4e00641e922458120274ee815174d3d43
Parents
5001b86
Tree
5e51260

3 changed files

StatusFile+-
M Cargo.lock 1 1
M Cargo.toml 1 1
M build.rs 3 1
Cargo.lockmodified
@@ -285,7 +285,7 @@ dependencies = [
285285
 
286286
 [[package]]
287287
 name = "fussr"
288
-version = "0.2.10"
288
+version = "0.2.12"
289289
 dependencies = [
290290
  "anyhow",
291291
  "clap",
Cargo.tomlmodified
@@ -1,6 +1,6 @@
11
 [package]
22
 name = "fussr"
3
-version = "0.2.12"
3
+version = "0.2.13"
44
 edition = "2021"
55
 description = "A git staging TUI tool - Rust port of fuss"
66
 authors = ["Matthew Wolffe"]
build.rsmodified
@@ -1,7 +1,9 @@
11
 fn main() {
2
-    // Explicitly link against libgit2 and libssh2
2
+    // Explicitly link against libgit2, libssh2, and their dependencies
33
     // Use link-arg to append to the END of the linker command line
44
     // This ensures the libraries come AFTER the Rust code that needs them
5
+    // Order matters: libgit2 depends on libssh2, both depend on zlib
56
     println!("cargo:rustc-link-arg=-lgit2");
67
     println!("cargo:rustc-link-arg=-lssh2");
8
+    println!("cargo:rustc-link-arg=-lz");
79
 }