macOS doesn't support static linking user binaries. in fact I do see
libSystem linked for each go binary on my Mojave system, including the
simplest non-outputting hello world:
$ cat > t.go
package main; func main(){}
$ go build t.go && otool -L t
t: /usr/lib/libSystem.B.dylib (compatibility versi
I believe that by default, Go programs are statically linked.
>From the man page for otool:
*-L* Display the names and version numbers of the shared libraries
that the object file uses, as well as the shared library ID if
the file is a shared library.
This i