mirror of
https://github.com/rust-lang/cargo
synced 2024-08-28 11:50:23 +00:00
Auto merge of #13134 - arlosi:vendor-libgit2, r=ehuss
`all-static` feature should include `vendored-libgit2` Cargo has an `all-static` feature which is supposed to statically link dependencies for distributing. However, it doesn't include `libgit2`. If the system has a compatible version of `libgit2` and `pkg-config` installed, then the `all-static` build will still use the system `libgit2`.
This commit is contained in:
commit
7c722f76ed
|
@ -246,7 +246,7 @@ doc = false
|
|||
vendored-openssl = ["openssl/vendored"]
|
||||
vendored-libgit2 = ["libgit2-sys/vendored"]
|
||||
# This is primarily used by rust-lang/rust distributing cargo the executable.
|
||||
all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx']
|
||||
all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx', 'vendored-libgit2']
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
Loading…
Reference in a new issue