Support Apple silicon arm64

This commit is contained in:
Andy KoKo 2022-05-17 00:43:06 +08:00 committed by GitHub
parent bfc4eaaa06
commit d97896cb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

BIN
libui_darwin_arm64.a Normal file

Binary file not shown.

7
link_darwin_arm64.go Normal file
View File

@ -0,0 +1,7 @@
// 13 december 2015
package ui
// #cgo CFLAGS: -mmacosx-version-min=10.15
// #cgo LDFLAGS: ${SRCDIR}/libui_darwin_arm64.a -framework Foundation -framework AppKit
import "C"