Skip to content

Commit eb227bc

Browse files
authored
Merge pull request #1751 from Unity-Technologies/fix/intel-mac-build-script
fixed build script error on intel arch macs
2 parents a9e0a36 + 5760422 commit eb227bc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

external/buildscripts/build_all_osx.pl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,12 @@
8282
if ($artifact)
8383
{
8484
print(">>> Moving built binaries to final output directories\n");
85-
86-
CopyEmbedRuntimeBinaries($embedDirSourceARM64, "$embedDirRoot/osx-arm64");
87-
85+
86+
if ($buildArm64)
87+
{
88+
CopyEmbedRuntimeBinaries($embedDirSourceARM64, "$embedDirRoot/osx-arm64");
89+
}
90+
8891
# Merge stuff in the monodistribution directory
8992
my $distDirRoot = "$buildsroot/monodistribution";
9093
my $distDirDestinationBin = "$buildsroot/monodistribution/bin";

0 commit comments

Comments
 (0)