summaryrefslogtreecommitdiff
path: root/link_darwin_amd64.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-12 09:17:01 -0400
committerPietro Gagliardi <[email protected]>2018-08-12 09:17:01 -0400
commitc91b665da35ce987c2143ebbc141c7d04b6c27c5 (patch)
treec161d8a73e81740e9329e18a553ceda49247c884 /link_darwin_amd64.go
parentf0fb0f4f7e36b70c61a6cbcc6a2875946a6beec2 (diff)
Migrated main.go. Migrated link_darwin_amd64.go and removed -DMACOSX_DEPLOYMENT_TARGET (see libui commit aa28904408fb75ae8042c616982c13cbe2a5a784). This should be two separate commits but I screwed up.
Diffstat (limited to 'link_darwin_amd64.go')
-rw-r--r--link_darwin_amd64.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/link_darwin_amd64.go b/link_darwin_amd64.go
new file mode 100644
index 0000000..ef9c2e5
--- /dev/null
+++ b/link_darwin_amd64.go
@@ -0,0 +1,7 @@
+// 13 december 2015
+
+package ui
+
+// #cgo CFLAGS: -mmacosx-version-min=10.8
+// #cgo LDFLAGS: ${SRCDIR}/libui_darwin_amd64.a -framework Foundation -framework AppKit -mmacosx-version-min=10.8
+import "C"