ports/security/sniffglue/files/patch-cargo-crates_pcap-sys-0.1.3_build.rs
Martin Filla e97d5b84d8 security/sniffglue: Add new port
sniffglue is a network sniffer written in rust. Network packets are parsed
concurrently using a thread pool to utilize all cpu cores. Project goals are
that you can run sniffglue securely on untrusted networks and that it must not
crash when processing packets. The output should be as useful as possible by
default.

PR:		262959
2022-04-22 14:49:11 +02:00

10 lines
369 B
Rust

--- cargo-crates/pcap-sys-0.1.3/build.rs.orig 2022-03-31 13:14:17 UTC
+++ cargo-crates/pcap-sys-0.1.3/build.rs
@@ -35,6 +35,7 @@ fn main() {
// on macOS, pcap-config returns /usr/local/lib, but libpcap is actually in /usr/lib
println!("cargo:rustc-link-search=native=/usr/lib");
+ println!("cargo:rustc-link-lib=pcap");
}
/// Adapted from pkg_config