More steps to arch-specific target libs (#474)

This commit is contained in:
Graydon Hoare 2011-09-23 10:50:06 -07:00
parent 5310cf4f30
commit 18c6cc6371
5 changed files with 140 additions and 50 deletions

View file

@ -372,7 +372,7 @@ fn build_session_options(binary: str, match: getopts::match, binary_dir: str)
};
let library_search_paths = [binary_dir + "/lib", // FIXME: legacy
binary_dir + "/lib/" + target ];
binary_dir + "/lib/rustc/" + target ];
let lsp_vec = getopts::opt_strs(match, "L");
for lsp: str in lsp_vec { library_search_paths += [lsp]; }