about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-01-29 20:35:11 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2017-01-29 20:35:11 +0900
commit149242e5190664bef3ae36e7780f33571f19c8d4 (patch)
tree812e54870573b7fdedbf2b34aa92727424a9a890 /src/bootstrap
parentb37edea656d7dc2e547eeaf1a56fda9254518934 (diff)
downloadrust-149242e5190664bef3ae36e7780f33571f19c8d4.tar.gz
rust-149242e5190664bef3ae36e7780f33571f19c8d4.zip
Bootstrap: append libjemalloc_pic.a
Fix #35349
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/config.rs2
1 files changed, 1 insertions, 1 deletions
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();