Skip to content

Commit

Permalink
WIP: Expose feature to link libelf and zlib statically
Browse files Browse the repository at this point in the history
  • Loading branch information
javierhonduco committed Jul 3, 2022
1 parent bf39359 commit b66a96e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libbpf-cargo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ novendor = ["libbpf-sys/novendor"]
[dependencies]
anyhow = "1.0"
cargo_metadata = "0.14"
libbpf-sys = { version = "0.7.1" }
libbpf-sys = { version = "0.8.0", git = "https://github.com/javierhonduco/libbpf-sys", branch = "libelf-zlib-static" }
memmap2 = "0.5"
num_enum = "0.5"
regex = "1.5"
Expand Down
3 changes: 2 additions & 1 deletion libbpf-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ maintenance = { status = "actively-developed" }
# When turned on, link against system-installed libbpf instead of building
# and linking against vendored libbpf sources
novendor = ["libbpf-sys/novendor"]
static = ["libbpf-sys/static"]

[dependencies]
bitflags = "1.3"
lazy_static = "1.4"
libbpf-sys = { version = "0.7.1" }
libbpf-sys = { version = "0.8.0", git = "https://github.com/javierhonduco/libbpf-sys", branch = "libelf-zlib-static" }
nix = { version = "0.24", default-features = false, features = ["net", "user"] }
num_enum = "0.5"
strum_macros = "0.23"
Expand Down

0 comments on commit b66a96e

Please sign in to comment.