diff --git a/src/lib.rs b/src/lib.rs index a6603e9..a28304e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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);