Skip to content

Commit

Permalink
Update architecture names in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jan 30, 2024
1 parent 5cab369 commit fc464c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/build-openssl-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi
case $(uname -m) in
"x86_64")
ARCH=x64;;
"aarch64")
"arm64")
ARCH=arm64;;
*)
echo "unknown architecture: $(uname -m)"
Expand Down
2 changes: 1 addition & 1 deletion scripts/darwin/build.pl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
chomp (my $arch = `uname -m`);
if ($arch eq 'x86_64') {
$arch = 'x64';
} elsif ($arch eq 'aarch64') {
} elsif ($arch eq 'arm64') {
$arch = 'arm64';
} else {
die "unsupported arch: $arch";
Expand Down

0 comments on commit fc464c5

Please sign in to comment.