No Buildable go sources files
Opened this issue · 1 comments
joaquinicolas commented
When i try to cross compile my project from mac os to linux with arm, get this error:
no buildable Go source files in... github.com/mikepb/go-serial
IvoBCD commented
@joaquinicolas Since all of the .go files use cgo, you'll need to set CGO_ENABLED=1 to ensure anything gets built when cross-compiling.