Skip to content

Commit

Permalink
Fix cross-compile to MacOS universal2 in the other platform
Browse files Browse the repository at this point in the history
Signed-off-by: MisLink <gjq.uoiai@outlook.com>
  • Loading branch information
MisLink committed May 16, 2023
1 parent 3920405 commit 075bed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn compile(
python_interpreter: Option<&PythonInterpreter>,
targets: &[CompileTarget],
) -> Result<Vec<HashMap<String, BuildArtifact>>> {
if context.target.is_macos() && context.universal2 {
if context.universal2 {
compile_universal2(context, python_interpreter, targets)
} else {
compile_targets(context, python_interpreter, targets)
Expand Down

0 comments on commit 075bed8

Please sign in to comment.