diff --git a/jemalloc-sys/build.rs b/jemalloc-sys/build.rs index b3c629d..489ba5a 100644 --- a/jemalloc-sys/build.rs +++ b/jemalloc-sys/build.rs @@ -186,6 +186,7 @@ fn main() { if use_prefix { cmd.arg("--with-jemalloc-prefix=_rjem_"); + cmd.arg("--with-private-namespace=_rjem_"); println!("cargo:rustc-cfg=prefixed"); }