summaryrefslogtreecommitdiff
path: root/link_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-11 22:48:25 -0500
committerPietro Gagliardi <[email protected]>2015-12-11 22:48:25 -0500
commit90669b9c7fb50b97c69798520faf49cc49a07920 (patch)
treeb1fe84a46a0f09d91ae6894df707a53ad81c086a /link_unix.go
parenteef149060f7306c7eccc8855dceee68ccd45026e (diff)
More work.
Diffstat (limited to 'link_unix.go')
-rw-r--r--link_unix.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/link_unix.go b/link_unix.go
index 9d270bf..597dc44 100644
--- a/link_unix.go
+++ b/link_unix.go
@@ -5,4 +5,5 @@
package ui
-// #cgo LDFLAGS: -L. -lui -lpthread
+// #cgo LDFLAGS: -L${SRCDIR} -lui -Wl,-rpath=$ORIGIN
+import "C"