configure: Do not generate two stage0 rustlib dirs when --libdir is set

This commit is contained in:
Guillaume Bonnet 2016-01-21 13:08:17 +01:00
parent 34b4e66736
commit 6aa86e5cd1
1 changed files with 7 additions and 1 deletions

8
configure vendored
View File

@ -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