summary refs log tree commit diff
path: root/src/bootstrap/tool.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-09-22 21:34:27 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-09-28 07:45:50 -0700
commit7694ca419b3ade48e22982b69dec90eb45d8da73 (patch)
tree6d6042991fef7c098f7b2ee773d5aacb66de2851 /src/bootstrap/tool.rs
parent041d3550f6d963144722094edfccb3e4e3b74114 (diff)
downloadrust-7694ca419b3ade48e22982b69dec90eb45d8da73.tar.gz
rust-7694ca419b3ade48e22982b69dec90eb45d8da73.zip
Update to the `cc` crate
This is the name the `gcc` crate has moved to
Diffstat (limited to 'src/bootstrap/tool.rs')
-rw-r--r--src/bootstrap/tool.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 19879ab2ade..a05e58e6a22 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -126,6 +126,10 @@ pub fn prepare_tool_cargo(
         cargo.env("LIBZ_SYS_STATIC", "1");
     }
 
+    // if tools are using lzma we want to force the build script to build its
+    // own copy
+    cargo.env("LZMA_API_STATIC", "1");
+
     cargo.env("CFG_RELEASE_CHANNEL", &build.config.channel);
     cargo.env("CFG_VERSION", build.rust_version());