Skip to content

Commit

Permalink
Merge pull request #178 from serjflint/fix/zig/unsupported-dylib
Browse files Browse the repository at this point in the history
fix zig: unsupported dylib
  • Loading branch information
messense authored Sep 10, 2023
2 parents cd0934a + 2fe352e commit 5401725
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ impl Zig {
// https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-exported_symbols_list
return None;
}
if arg == "-Wl,-dylib" {
// zig doesn't support -dylib
return None;
}
}
Some(arg.to_string())
};
Expand Down

0 comments on commit 5401725

Please sign in to comment.