about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorO01eg <o01eg@yandex.ru>2017-12-04 00:51:59 +0300
committerO01eg <o01eg@yandex.ru>2018-01-12 07:11:13 +0300
commit0f5110ea4937e88e88c2192f3fa192717cb405c1 (patch)
tree6b46cd4df707552b1b279057e282ce4d732a5c13 /src/bootstrap
parent27b4f225eac725dd22812b64a50d078b5edcc830 (diff)
downloadrust-0f5110ea4937e88e88c2192f3fa192717cb405c1.tar.gz
rust-0f5110ea4937e88e88c2192f3fa192717cb405c1.zip
Stage 1 and later use relative libdir.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index ce30d1f4cec..49d3c87d599 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -357,7 +357,7 @@ impl<'a> Builder<'a> {
 
             fn run(self, builder: &Builder) -> Interned<PathBuf> {
                 let compiler = self.compiler;
-                let lib = if compiler.stage >= 2 && builder.build.config.libdir_relative.is_some() {
+                let lib = if compiler.stage >= 1 && builder.build.config.libdir_relative.is_some() {
                     builder.build.config.libdir_relative.clone().unwrap()
                 } else {
                     PathBuf::from("lib")