Skip to content

Commit

Permalink
Removing header include flags in linker args handler
Browse files Browse the repository at this point in the history
  • Loading branch information
eulegang committed Mar 30, 2022
1 parent 337d9a9 commit 225a4a7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -683,13 +683,9 @@ impl Library {
continue;
}

match subopt {
"-framework" | "-isystem" | "-iquote" | "idirafter" => {
pop = true;
continue;
}

_ => (),
if subopt == "-framework" {
pop = true;
continue;
}

ld_option.push(subopt);
Expand Down

0 comments on commit 225a4a7

Please sign in to comment.