diff options
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |
