From 82d0efb92d7fdcb75bb9608e3a9ddb5465e721f0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 6 Jan 2016 20:24:31 -0500 Subject: 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... --- link_darwin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'link_darwin.go') 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 // #include -- cgit v1.2.3