diff --git a/jemalloc-sys/build.rs b/jemalloc-sys/build.rs index 39eb5740d6..ae85a19ed5 100644 --- a/jemalloc-sys/build.rs +++ b/jemalloc-sys/build.rs @@ -364,6 +364,7 @@ fn main() { .arg(num_jobs.clone())); println!("cargo:root={}", out_dir.display()); + println!("cargo:include={}/include", out_dir.display()); // Linkage directives to pull in jemalloc and its dependencies. //