Skip to content

Commit b7c53e0

Browse files
authored
Merge pull request #40 from ebriney/osx10.10-10.11-compatibility
Add cgo flags to support older version of OSX (10.10, 10.11)
2 parents 2514d5e + 94963d0 commit b7c53e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osxkeychain/osxkeychain_darwin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package osxkeychain
22

33
/*
4-
#cgo CFLAGS: -x objective-c
5-
#cgo LDFLAGS: -framework Security -framework Foundation
4+
#cgo CFLAGS: -x objective-c -mmacosx-version-min=10.10
5+
#cgo LDFLAGS: -framework Security -framework Foundation -mmacosx-version-min=10.10
66
77
#include "osxkeychain_darwin.h"
88
#include <stdlib.h>

0 commit comments

Comments
 (0)