Skip to content

Commit

Permalink
fix zig: unsupported dylib
Browse files Browse the repository at this point in the history
  • Loading branch information
serjflint committed Sep 10, 2023
1 parent cd0934a commit 2fe352e
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 2fe352e

Please sign in to comment.