summaryrefslogtreecommitdiff
path: root/link_unix.go
diff options
context:
space:
mode:
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"