Makefile: fix for mac m1/2 (#725)

Arch name was producing 404 when downloading releases from github for
protoc due to incorrect arch name.
This commit is contained in:
Max Revitt 2022-11-03 14:53:06 +00:00 committed by GitHub
parent b2f53fc10f
commit c6c01e0392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,9 @@ ARCH = $(shell uname -m)
ifeq ($(OS),Darwin)
PROTOC_OS := osx
ifeq ($(ARCH),arm64)
ARCH = aarch_64
endif
endif
ifeq ($(OS),Linux)
PROTOC_OS = linux