Skip to content

Commit ea1e360

Browse files
committed
Ensure library file always has a proper suffix.
1 parent 1223bbc commit ea1e360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ fn build_output_filenames(ifile: str,
561561
let basename = fs::basename(base_path);
562562
let dylibname = std::os::dylib_filename(basename);
563563
out_path = fs::connect(dirname, dylibname);
564-
obj_path = fs::connect(dirname, basename + "." + obj_path);
564+
obj_path = fs::connect(dirname, basename + "." + obj_suffix);
565565
} else {
566566
out_path = base_path;
567567
obj_path = base_path + "." + obj_suffix;

0 commit comments

Comments
 (0)