diff options
| author | Pietro Gagliardi <[email protected]> | 2016-05-29 05:05:09 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2016-05-29 05:05:09 -0400 |
| commit | 30d1e59fd1ddfc85dd31b520bd4e46091ac6992e (patch) | |
| tree | 34acfcb177afda46b7165f6eb57ee7a1fe50af6c | |
| parent | aef0521c25e4a4779a5836b4ff2b1f931ddd0822 (diff) | |
Switched OS X to use statically linked libui.
| -rw-r--r-- | combobox.go | 4 | ||||
| -rw-r--r-- | link_darwin.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/combobox.go b/combobox.go index 1956301..2afa294 100644 --- a/combobox.go +++ b/combobox.go @@ -41,7 +41,7 @@ func NewCombobox() *Combobox { return c } - +/*TODO // NewEditableCombobox creates a new editable Combobox. func NewEditableCombobox() *Combobox { c := new(Combobox) @@ -54,7 +54,7 @@ func NewEditableCombobox() *Combobox { return c } - +*/ // Destroy destroys the Combobox. func (c *Combobox) Destroy() { delete(comboboxes, c.c) diff --git a/link_darwin.go b/link_darwin.go index 5a5f696..9e9accd 100644 --- a/link_darwin.go +++ b/link_darwin.go @@ -2,7 +2,7 @@ package ui -// #cgo LDFLAGS: -L${SRCDIR} -lui -framework CoreFoundation -lpthread -Wl,-rpath,@executable_path/ +// #cgo LDFLAGS: ${SRCDIR}/libui_darwin.a -framework Foundation -framework AppKit -lpthread // /* (thanks to http://jorgen.tjer.no/post/2014/05/20/dt-rpath-ld-and-at-rpath-dyld/ for the @executable_path clarifiaction) */ // #include <CoreFoundation/CoreFoundation.h> // #include <pthread.h> |
