summaryrefslogtreecommitdiff
path: root/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.go')
-rw-r--r--plugin.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin.go b/plugin.go
index 2c0e778..e856072 100644
--- a/plugin.go
+++ b/plugin.go
@@ -162,6 +162,12 @@ func searchPaths(name string) *aplug {
return p
}
+ filename = homeDir + "/go/src/go.wit.com/toolkits/" + name + "/" + name + ".so"
+ p = initToolkit(name, filename)
+ if p != nil {
+ return p
+ }
+
// this is the "default" location when built with the autotypist
filename = homeDir + "/go/lib/" + name + ".so"
p = initToolkit(name, filename)