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 /link_darwin.go | |
| parent | aef0521c25e4a4779a5836b4ff2b1f931ddd0822 (diff) | |
Switched OS X to use statically linked libui.
Diffstat (limited to 'link_darwin.go')
| -rw-r--r-- | link_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
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> |
