summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-05 12:30:32 -0600
committerJeff Carr <[email protected]>2024-12-05 12:30:32 -0600
commit88eb0e2c3c953723502b018ab89baf12690b371f (patch)
tree475da555c4382c85d3cb5725420a1385826b71b9
parentb2ee0fc5ef4723285dd94f30eb7334ef8de7191a (diff)
additional paths. todo: fix 'go install' for pluginsv0.22.12v0.22.11v0.22.10
-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)