mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-04 23:13:07 +00:00
build.rs cleanup avoid linking ssl crypto and pthread
This commit is contained in:
parent
35bacf4316
commit
e25050e635
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user