feat: finished adding pcap-sys
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
fn main() {
|
||||
if std::env::var("CARGO_CFG_TARGET_OS").unwrap() == "freebsd" {
|
||||
let freebsd_libs = std::env::var("FREEBSD_LIBS").unwrap();
|
||||
println!("cargo:rustc-link-arg=--sysroot={freebsd_libs}");
|
||||
println!("cargo:rustc-link-arg=-L{freebsd_libs}/lib");
|
||||
println!("cargo:rustc-link-arg=-L{freebsd_libs}/usr/lib");
|
||||
}
|
||||
include!("../build_freebsd.rs");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user