Add the C client include directory

Will eventually need to move the `aeron/` folder and add an
aeron-client-sys crate.
pull/27/head
Bradlee Speice 2020-04-07 19:39:37 -04:00
parent beb781962c
commit 9fd82b00b0
1 changed files with 1 additions and 0 deletions

View File

@ -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_.*")