Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
swills
· 11mo ago · 0 comments
You can definitely use CGO and still build statically, but you do need to set ldflags to include -static.
Comments
[–]
tptacek
11mo ago
You can even cross-compile doing that.
[–]
swills
OP
11mo ago
Yes, indeed, I do.