[wiki] Add server binary build info; link to developer guide from README.md

This commit is contained in:
RandyTheSilly committed 2024-08-08 20:00:04 -04:00
1 parent 49ec3d6c62
commit cf796c984d
2 files changed
+12 -2

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
## Building libmuttonserver
This repository is also home to the code for the libmuttonserver binary.
Official binaries are stripped of debug info for size and built without CGO (except for distribution packages) for portability, as follows:
```
CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath ./libmuttonserver.go
```
**Ensure the server binary is named `libmuttonserver`!**