diff options
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | link_darwin.go | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -27,9 +27,9 @@ It is based on my [libui](https://github.com/andlabs/libui), a simple cross-plat It runs on/requires: -- Windows: cgo, Windows Vista and newer -- Mac OS X: cgo, Mac OS X 10.7 and newer -- other Unixes: cgo, GTK+ 3.4 and newer +- Windows: cgo, Windows Vista SP2 with Platform Update and newer +- Mac OS X: cgo, Mac OS X 10.8 and newer +- other Unixes: cgo, GTK+ 3.10 and newer It also requires Go 1.6 or newer (due to various bugs in cgo that were fixed only starting with 1.6). diff --git a/link_darwin.go b/link_darwin.go index 1ce88f8..5a5f696 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: -L${SRCDIR} -lui -framework CoreFoundation -lpthread -Wl,-rpath,@executable_path/ // /* (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> |
