diff options
| author | Josh Matthews <josh@joshmatthews.net> | 2012-01-16 01:55:23 -0500 |
|---|---|---|
| committer | Josh Matthews <josh@joshmatthews.net> | 2012-01-16 13:35:35 -0500 |
| commit | ea1e360c15ca0ee7d0148567568c3916f23063ab (patch) | |
| tree | 305855863d2e524a111f363fc507d2d313cc7c4e /src/comp | |
| parent | 1223bbc4de2165097f6b044d7477940ad2499c0f (diff) | |
| download | rust-ea1e360c15ca0ee7d0148567568c3916f23063ab.tar.gz rust-ea1e360c15ca0ee7d0148567568c3916f23063ab.zip | |
Ensure library file always has a proper suffix.
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/driver/driver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/driver.rs b/src/comp/driver/driver.rs index d18c7bd29cf..b8d91ed80ac 100644 --- a/src/comp/driver/driver.rs +++ b/src/comp/driver/driver.rs @@ -561,7 +561,7 @@ fn build_output_filenames(ifile: str, let basename = fs::basename(base_path); let dylibname = std::os::dylib_filename(basename); out_path = fs::connect(dirname, dylibname); - obj_path = fs::connect(dirname, basename + "." + obj_path); + obj_path = fs::connect(dirname, basename + "." + obj_suffix); } else { out_path = base_path; obj_path = base_path + "." + obj_suffix; |
