From 149242e5190664bef3ae36e7780f33571f19c8d4 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sun, 29 Jan 2017 20:35:11 +0900 Subject: [PATCH] Bootstrap: append libjemalloc_pic.a Fix #35349 --- src/bootstrap/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index e035f8157ff..6e077691b3a 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -516,7 +516,7 @@ impl Config { "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();