diff --git a/area_darwin.go b/area_darwin.go index 5464109..362bde3 100644 --- a/area_darwin.go +++ b/area_darwin.go @@ -7,7 +7,6 @@ import ( "image" ) -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include //// #include // #include "objc_darwin.h" diff --git a/delegate_darwin.go b/delegate_darwin.go index a586d2f..d444459 100644 --- a/delegate_darwin.go +++ b/delegate_darwin.go @@ -15,7 +15,6 @@ This creates a class goAppDelegate that will be used as the delegate for /everyt - handles the application-global Quit event (such as from the Dock) (applicationShouldTerminate) */ -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include // #include "objc_darwin.h" import "C" diff --git a/dialog_darwin.go b/dialog_darwin.go index 39ee056..81819ba 100644 --- a/dialog_darwin.go +++ b/dialog_darwin.go @@ -6,7 +6,6 @@ import ( // ... ) -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include "objc_darwin.h" import "C" diff --git a/listbox_darwin.go b/listbox_darwin.go index aa83d5d..8c4cb17 100644 --- a/listbox_darwin.go +++ b/listbox_darwin.go @@ -14,7 +14,6 @@ Under normal circumstances we would have to build our own data source class, as After switching from using the Objective-C runtime to using Objective-C directly, you will now need to look both here and in listbox_darwin.m to get what's going on. */ -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include // #include "objc_darwin.h" import "C" diff --git a/objc_darwin.go b/objc_darwin.go index 37b8430..15027e4 100644 --- a/objc_darwin.go +++ b/objc_darwin.go @@ -6,7 +6,6 @@ import ( "unsafe" ) -// #cgo LDFLAGS: -lobjc -framework Foundation // #include // #include "objc_darwin.h" import "C" diff --git a/prefsize_darwin.go b/prefsize_darwin.go index f102f89..46d72a7 100644 --- a/prefsize_darwin.go +++ b/prefsize_darwin.go @@ -2,7 +2,6 @@ package ui -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include "objc_darwin.h" import "C" diff --git a/sysdata_darwin.go b/sysdata_darwin.go index 720ce9c..cb9f30b 100644 --- a/sysdata_darwin.go +++ b/sysdata_darwin.go @@ -7,7 +7,6 @@ import ( "sync" ) -// #cgo LDFLAGS: -lobjc -framework Foundation -framework AppKit // #include "objc_darwin.h" import "C"