Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Static linking using the
--static compiler flag is currently only supported on Alpine Linux. The easiest way to do this is to compile your application inside an Alpine Linux Docker container.
macOS doesn't officially support static linking.
More instructions coming soon. Use the
--static compiler flag.