Skip to content

Commit

Permalink
Remove dlltool prefix hack (#2052)
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium authored Sep 21, 2022
1 parent a9728b2 commit bd3eac8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
Binary file modified crates/targets/aarch64_gnullvm/lib/libwindows.a
Binary file not shown.
Binary file modified crates/targets/i686_gnu/lib/libwindows.a
Binary file not shown.
Binary file modified crates/targets/x86_64_gnu/lib/libwindows.a
Binary file not shown.
Binary file modified crates/targets/x86_64_gnullvm/lib/libwindows.a
Binary file not shown.
6 changes: 1 addition & 5 deletions crates/tools/gnu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,7 @@ EXPORTS
});
// Ensure consistency in the prefixes used by dlltool.
cmd.arg("-t");
if library.contains('.') {
cmd.arg(format!("{}_", library).replace('.', "_").replace('-', "_"));
} else {
cmd.arg(format!("{}_dll_", library).replace('-', "_"));
}
cmd.arg(format!("{}_", library).replace('.', "_").replace('-', "_"));
}
cmd.output().unwrap();

Expand Down

0 comments on commit bd3eac8

Please sign in to comment.