diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-12-04 18:55:45 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-12-04 18:56:05 +0100 |
commit | 0e6d23357ffc55bf172d9438080c448a11dd1d98 (patch) | |
tree | e67b9ba850b96683ad40c780a6efd24c0f2eb874 | |
parent | 87d03eac883c744b2080855c7aecf3235c0bc207 (diff) |
fix builds (remove libpcap libnl dependency)
-rw-r--r-- | build.rs | 10 | ||||
m--------- | libpcap | 0 |
2 files changed, 7 insertions, 3 deletions
@@ -8,9 +8,13 @@ fn main() { // println!("cargo:rustc-link-search=./libpcap/rpi"); match env::var("CARGO_CFG_TARGET_ARCH").unwrap_or(String::new()).as_str() { - "x86_64" => println!("cargo:rustc-link-search=./libpcap/x86_64"), - "aarch64" => println!("cargo:rustc-link-search=./libpcap/rpi"), - _ => println!("cargo:warning=Building for unsupported architecture, library search path may be incorrect"), + "x86_64" => { + println!("cargo:rustc-link-search=./libpcap/out/x86_64") + } + "aarch64" => { + println!("cargo:rustc-link-search=./libpcap/out/rpi") + } + _ => println!("cargo:warning=Building for unsupported architecture, library search paths may be incorrect"), } println!("cargo:rustc-link-lib=static=pcap"); diff --git a/libpcap b/libpcap -Subproject cc0ea9e813618eb60006d72eda7dc7784712068 +Subproject 0111afd4baa751833746e662a6f1976717d4316 |