From e25050e635bd7b7280a3a59e0fc201f07b0bbf61 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Tue, 24 Dec 2024 23:37:03 +0100 Subject: [PATCH] build.rs cleanup avoid linking ssl crypto and pthread --- waku-sys/build.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/waku-sys/build.rs b/waku-sys/build.rs index e7af785..2183e60 100644 --- a/waku-sys/build.rs +++ b/waku-sys/build.rs @@ -66,19 +66,11 @@ fn generate_bindgen_code(project_dir: &Path) { ); println!("cargo:rustc-link-lib=static=backtrace"); - println!("cargo:rustc-link-lib=ssl"); - println!("cargo:rustc-link-lib=crypto"); - cc::Build::new() .file("src/cmd.c") // Compile the C file .compile("cmditems"); // Compile it as a library println!("cargo:rustc-link-lib=static=cmditems"); - // TODO: Determine if pthread is automatically included - println!("cargo:rustc-link-lib=pthread"); - - // TODO: Test in other architectures - // Generate waku bindings with bindgen let bindings = bindgen::Builder::default() // The input header we would like to generate