diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-30 16:55:18 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-30 17:19:24 -0700 |
| commit | 821dd6c02cf7d2430903f74f9e445975fcaccc55 (patch) | |
| tree | 963d64474fd9af82329be89442beb7e382d25420 /src/comp/driver | |
| parent | e71d17ffa67627042d665771f7fa9dd2f3a7a662 (diff) | |
| download | rust-821dd6c02cf7d2430903f74f9e445975fcaccc55.tar.gz rust-821dd6c02cf7d2430903f74f9e445975fcaccc55.zip | |
Change the directory for target libs
This pushes them down from stageN/lib/rustc/$(target) to stageN/lib/rustc/$(target)/lib in order to make room for a target bin dir
Diffstat (limited to 'src/comp/driver')
| -rw-r--r-- | src/comp/driver/rustc.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index 3907f1c3500..20dfe674fd1 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -378,8 +378,7 @@ fn build_session_options(binary: str, match: getopts::match) some(s) { s } }; - let library_search_paths = [ - fs::connect(sysroot, "lib/rustc/" + target )]; + let library_search_paths = [link::make_target_lib_path(sysroot, target)]; let lsp_vec = getopts::opt_strs(match, "L"); // FIXME: These should probably go in front of the defaults for lsp: str in lsp_vec { library_search_paths += [lsp]; } |
