unixpickle / gobfuscate

Obfuscate Go binaries and packages
BSD 2-Clause "Simplified" License
1.45k stars 157 forks source link

Should use dynamic GO path #17

Open CaledoniaProject opened 5 years ago

CaledoniaProject commented 5 years ago

I've compiled gobfuscate with go 1.12.6 on Mac. When I updated go to 1.12.7, the compiled binary is still looking at the old path:

could not import errors (cannot find package "errors" in any of:
    /usr/local/homebrew/Cellar/go/1.12.6/libexec/src/errors (from $GOROOT)

Looks like the only solution is recompile gobfuscate, was it a bug?

CaledoniaProject commented 5 years ago

Confirmed. Recompiled gobfuscate and it no longer shows errors mentioned above.