Does not work with the =.
Also, in your command, I can see some Unicode quotes which are a big no no.
I cannot understand how you go them, since this forum software does not do any superfluous text formatting.
Here the following is on Ubuntu 18.04, running Go 1.11 (snap package).
$ go version go version go1.11 linux/amd64 $ go get -a -v -x -ldflags '-extldflags "-static"' github.com/lxc/lxd/lxd-p2c ... $ cd $GOPATH/bin $ ldd lxd-p2c not a dynamic executable Exit 1
ldd says that the executable is not dynamic (i.e. it’s static).