diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index e035f8157ffde9a6d6ecb22415fd97dbe8d139f5..6e077691b3a058fe7c91c0162dd738cfd516676a 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -516,7 +516,7 @@ pub fn update_with_config_mk(&mut self) { "CFG_JEMALLOC_ROOT" if value.len() > 0 => { let target = self.target_config.entry(self.build.clone()) .or_insert(Target::default()); - target.jemalloc = Some(parse_configure_path(value)); + target.jemalloc = Some(parse_configure_path(value).join("libjemalloc_pic.a")); } "CFG_ARM_LINUX_ANDROIDEABI_NDK" if value.len() > 0 => { let target = "arm-linux-androideabi".to_string();