Skip to content

Commit 95a99d9

Browse files
committed
Fix static_libraries swallowing sequence of -framework flags
1 parent c09bf19 commit 95a99d9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ use anyhow::Context as _;
1717
use cargo_util::paths::{copy, create_dir_all, open, read, read_bytes, write};
1818
use implib::def::ModuleDef;
1919
use implib::{Flavor, ImportLibrary, MachineType};
20-
use itertools::Itertools;
2120
use semver::Version;
2221

2322
use crate::build_targets::BuildTargets;
@@ -1081,7 +1080,6 @@ fn static_libraries(link_line: &str, rustc_target: &target::Target) -> String {
10811080
}
10821081
!s.is_empty()
10831082
})
1084-
.unique()
10851083
.map(|lib| {
10861084
if rustc_target.env == "msvc" && lib.ends_with(".lib") {
10871085
return format!("-l{}", lib.trim_end_matches(".lib"));

0 commit comments

Comments
 (0)