I am using the following command to build command to build statically 
linked executables

go install -tags netgo,osusergo -v -ldflags="-extldflags '-static' 
-linkmode 'external'" ./...

Everything works fine (binaries are build and work correctly)  but I get 
this warning:

loadinternal: cannot find runtime/cgo

Is that harmless?

Paolo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/790aedb0-dd77-4628-80c4-2a21a6ab2214n%40googlegroups.com.

Reply via email to