Switched OS X to use statically linked libui.
This commit is contained in:
parent
aef0521c25
commit
30d1e59fd1
|
@ -41,7 +41,7 @@ func NewCombobox() *Combobox {
|
||||||
|
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
/*TODO
|
||||||
// NewEditableCombobox creates a new editable Combobox.
|
// NewEditableCombobox creates a new editable Combobox.
|
||||||
func NewEditableCombobox() *Combobox {
|
func NewEditableCombobox() *Combobox {
|
||||||
c := new(Combobox)
|
c := new(Combobox)
|
||||||
|
@ -54,7 +54,7 @@ func NewEditableCombobox() *Combobox {
|
||||||
|
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
// Destroy destroys the Combobox.
|
// Destroy destroys the Combobox.
|
||||||
func (c *Combobox) Destroy() {
|
func (c *Combobox) Destroy() {
|
||||||
delete(comboboxes, c.c)
|
delete(comboboxes, c.c)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
package ui
|
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) */
|
// /* (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 <CoreFoundation/CoreFoundation.h>
|
||||||
// #include <pthread.h>
|
// #include <pthread.h>
|
||||||
|
|
Loading…
Reference in New Issue