Skip to content

Commit 225a4a7

Browse files
author
eulegang
committed
Removing header include flags in linker args handler
1 parent 337d9a9 commit 225a4a7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/lib.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -683,13 +683,9 @@ impl Library {
683683
continue;
684684
}
685685

686-
match subopt {
687-
"-framework" | "-isystem" | "-iquote" | "idirafter" => {
688-
pop = true;
689-
continue;
690-
}
691-
692-
_ => (),
686+
if subopt == "-framework" {
687+
pop = true;
688+
continue;
693689
}
694690

695691
ld_option.push(subopt);

0 commit comments

Comments
 (0)