diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-01-09 16:11:25 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-01-09 16:12:47 -0800 |
| commit | f6ecbe88ca67769ccb9def337ada9ae25235e00e (patch) | |
| tree | 292d5c5620c939069664e515bf1ecd1d31ed0ade /src/comp | |
| parent | a736669fb686d1a44f47d9624a9ed2aa1e072413 (diff) | |
Fix rpath bug.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/back/rpath.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/back/rpath.rs b/src/comp/back/rpath.rs index 06c866fc926..91f025308e0 100644 --- a/src/comp/back/rpath.rs +++ b/src/comp/back/rpath.rs @@ -218,8 +218,8 @@ mod test { #[test] fn test_prefix_rpath() { let res = get_install_prefix_rpath("/usr/lib", "triple"); - assert str::ends_with(res, #env("CFG_PREFIX") - + "/lib/rustc/triple/lib"); + let d = fs::connect(#env("CFG_PREFIX"), "/lib/rustc/triple/lib"); + assert str::ends_with(res, d); } #[test] |
