about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Bonnet <guillaumebonnet10@gmail.com>2016-01-21 13:08:17 +0100
committerGuillaume Bonnet <guillaumebonnet10@gmail.com>2016-01-21 13:18:47 +0100
commit6aa86e5cd10db5c2dffff4d0d378dbe4cee77e46 (patch)
tree479c132b6a8d4ce8d1cc6b753f0cd8bcba91b445
parent34b4e66736a0fb65235feadbb5178d42bd09ed67 (diff)
downloadrust-6aa86e5cd10db5c2dffff4d0d378dbe4cee77e46.tar.gz
rust-6aa86e5cd10db5c2dffff4d0d378dbe4cee77e46.zip
configure: Do not generate two stage0 rustlib dirs when --libdir is set
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure b/configure
index 446a6e3feae..7df98d1bd56 100755
--- a/configure
+++ b/configure
@@ -1361,16 +1361,22 @@ for h in $CFG_HOST
 do
     for t in $CFG_TARGET
     do
+        # host bin dir stage0
+        make_dir $h/stage0/bin
+
         # host lib dir stage0
         make_dir $h/stage0/lib
 
+        # host test dir stage0
+        make_dir $h/stage0/test
+
         # target bin dir stage0
         make_dir $h/stage0/lib/rustlib/$t/bin
 
         # target lib dir stage0
         make_dir $h/stage0/lib/rustlib/$t/lib
 
-        for i in 0 1 2 3
+        for i in 1 2 3
         do
             # host bin dir
             make_dir $h/stage$i/bin