From 94963d0da8b03f046c0df5f8b9dea71ae3da722b Mon Sep 17 00:00:00 2001 From: Emmanuel Briney Date: Tue, 21 Feb 2017 10:41:54 +0100 Subject: [PATCH] osxkeychain: add cgo flags to support older version of OSX Signed-off-by: Emmanuel Briney --- osxkeychain/osxkeychain_darwin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osxkeychain/osxkeychain_darwin.go b/osxkeychain/osxkeychain_darwin.go index 63d13a8..21761aa 100644 --- a/osxkeychain/osxkeychain_darwin.go +++ b/osxkeychain/osxkeychain_darwin.go @@ -1,8 +1,8 @@ package osxkeychain /* -#cgo CFLAGS: -x objective-c -#cgo LDFLAGS: -framework Security -framework Foundation +#cgo CFLAGS: -x objective-c -mmacosx-version-min=10.10 +#cgo LDFLAGS: -framework Security -framework Foundation -mmacosx-version-min=10.10 #include "osxkeychain_darwin.h" #include