Skip to content

Commit 0d118d3

Browse files
authored
Merge pull request eza-community#233 from gierens/expose-vendored-libgit2
Expose vendored libgit2
2 parents 392b37c + 8f10db1 commit 0d118d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

+1-4
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ features = ["format"]
6464
version = "0.18"
6565
optional = true
6666
default-features = false
67-
# This builds libgit2 into the binary to avoid dependency problems on systems
68-
# that don't have the required version of libgit2 yet.
69-
# See: https://github.com/eza-community/eza/pull/192
70-
features = ["vendored-libgit2"]
7167

7268
[target.'cfg(target_os = "linux")'.dependencies]
7369
proc-mounts = "0.3"
@@ -83,6 +79,7 @@ default-features = false
8379
default = [ "git" ]
8480
git = [ "git2" ]
8581
vendored-openssl = ["git2/vendored-openssl"]
82+
vendored-libgit2 = ["git2/vendored-libgit2"]
8683

8784

8885
# make dev builds faster by excluding debug symbols

devtools/deb-package.sh

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ ARCH="amd64"
1717
DEB_TMP_DIR="${NAME}_${VERSION}_${ARCH}"
1818
DEB_PACKAGE="${NAME}_${VERSION}_${ARCH}.deb"
1919

20+
cargo build --release --features vendored-libgit2
21+
just man
22+
2023
read -r -d '' DEB_CONTROL << EOM
2124
Package: ${NAME}
2225
Version: ${VERSION}

0 commit comments

Comments
 (0)