summary refs log tree commit diff
path: root/src/comp/metadata
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-12-03 00:51:59 +0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-12 16:15:29 -0800
commit6dbd4c21e9cc0fd3bb337ad2d9f10e206cf3e575 (patch)
treee81b1c77a6b247a0521eca58f71ff629c0cad4e3 /src/comp/metadata
parentb4f450a7938ef560168947a28600663389969a02 (diff)
downloadrust-6dbd4c21e9cc0fd3bb337ad2d9f10e206cf3e575.tar.gz
rust-6dbd4c21e9cc0fd3bb337ad2d9f10e206cf3e575.zip
rustc: build versioned library with hash in its name
Also updated build to install versioned libraries and added a few
missing actions for `make clean`.
Diffstat (limited to 'src/comp/metadata')
-rw-r--r--src/comp/metadata/creader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/metadata/creader.rs b/src/comp/metadata/creader.rs
index cb806efa647..b94110acb31 100644
--- a/src/comp/metadata/creader.rs
+++ b/src/comp/metadata/creader.rs
@@ -157,7 +157,7 @@ fn find_library_crate_aux(sess: session::session,
                           metas: [@ast::meta_item],
                           filesearch: filesearch::filesearch) ->
    option::t<{ident: str, data: @[u8]}> {
-    let prefix: str = nn.prefix + crate_name;
+    let prefix: str = nn.prefix + crate_name + "-";
     let suffix: str = nn.suffix;
 
     ret filesearch::search(filesearch, { |path|