mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 05:28:10 -05:00
Add the C client include directory
Will eventually need to move the `aeron/` folder and add an aeron-client-sys crate.
This commit is contained in:
parent
beb781962c
commit
9fd82b00b0
@ -91,6 +91,7 @@ pub fn main() {
|
||||
println!("cargo:include={}", header_path.display());
|
||||
let bindings = bindgen::Builder::default()
|
||||
.clang_arg(format!("-I{}", header_path.display()))
|
||||
.clang_arg(format!("-I{}", aeron_path.join("aeron-client/src/main/c").display()))
|
||||
.header("bindings.h")
|
||||
.whitelist_function("aeron_.*")
|
||||
.whitelist_type("aeron_.*")
|
||||
|
Loading…
Reference in New Issue
Block a user