Switched OS X to use statically linked libui.

This commit is contained in:
Pietro Gagliardi 2016-05-29 05:05:09 -04:00
parent aef0521c25
commit 30d1e59fd1
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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>