diff options
| author | Pietro Gagliardi <[email protected]> | 2016-01-06 20:24:31 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2016-01-06 20:24:31 -0500 |
| commit | 82d0efb92d7fdcb75bb9608e3a9ddb5465e721f0 (patch) | |
| tree | 4ddbf2b19541c49bf48354de7c41eaa76bf844a4 /link_darwin.go | |
| parent | a76ba524c61dfdd2faca467575e46c397af85275 (diff) | |
Re-enabled @executable_path and OS X linking now that the OS X build is fixed. Now I just have to figure out why it's not linking...
Diffstat (limited to 'link_darwin.go')
| -rw-r--r-- | link_darwin.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/link_darwin.go b/link_darwin.go index 9c5748b..ccf2942 100644 --- a/link_darwin.go +++ b/link_darwin.go @@ -2,8 +2,7 @@ package ui -// #cgo LDFLAGS: -L${SRCDIR} -lui -framework CoreFoundation -lpthread -// //TODO -rpath @executable_path +// #cgo LDFLAGS: -L${SRCDIR} -lui -framework CoreFoundation -lpthread -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> |
