1
0
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:
Bradlee Speice 2020-04-07 19:39:37 -04:00
parent beb781962c
commit 9fd82b00b0

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