From 88eb0e2c3c953723502b018ab89baf12690b371f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 5 Dec 2024 12:30:32 -0600 Subject: additional paths. todo: fix 'go install' for plugins --- plugin.go | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3