Skip to content

Commit

Permalink
feat: use dynamic library instead of libpcap static library
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchaoa authored and rvql committed Aug 12, 2024
1 parent 1d38c5b commit d23ccd4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions agent/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ fn set_linkage() -> Result<(), Box<dyn Error>> {
println!("cargo:rustc-link-lib=dylib=pthread");
println!("cargo:rustc-link-lib=dylib=z");
println!("cargo:rustc-link-lib=dylib=stdc++");
#[cfg(target_arch = "x86_64")]
println!("cargo:rustc-link-lib=static=pcap");
#[cfg(target_arch = "aarch64")]
println!("cargo:rustc-link-lib=dylib=pcap");
}
"musl" => {
Expand Down

0 comments on commit d23ccd4

Please sign in to comment.