From ca8b64a36a99f224eb7a2fdad3843f6e22ff1933 Mon Sep 17 00:00:00 2001 From: Fabrice Aneche Date: Wed, 30 Dec 2020 08:15:29 -0500 Subject: [PATCH 1/2] fix for darwin aarch64 --- root_cgo_darwin.go | 2 +- root_darwin_armx.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/root_cgo_darwin.go b/root_cgo_darwin.go index 0f39879..f7c32a4 100644 --- a/root_cgo_darwin.go +++ b/root_cgo_darwin.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build cgo,darwin,!arm,!arm64,!ios +// +build cgo,darwin,!ios package syscerts diff --git a/root_darwin_armx.go b/root_darwin_armx.go index 5eca670..82a4e14 100644 --- a/root_darwin_armx.go +++ b/root_darwin_armx.go @@ -5,8 +5,7 @@ // license that can be found in the LICENSE file. // +build cgo -// +build darwin -// +build arm arm64 ios +// +build darwin,ios package syscerts From 1f7ee1de1ba36b8172cb89b1397808377e3c35b0 Mon Sep 17 00:00:00 2001 From: Fabrice Aneche Date: Wed, 30 Dec 2020 08:29:44 -0500 Subject: [PATCH 2/2] fix for ios --- root_darwin_armx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root_darwin_armx.go b/root_darwin_armx.go index 82a4e14..b64f90e 100644 --- a/root_darwin_armx.go +++ b/root_darwin_armx.go @@ -5,7 +5,7 @@ // license that can be found in the LICENSE file. // +build cgo -// +build darwin,ios +// +build ios package syscerts