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

This commit is contained in:
2024-08-08 20:00:04 -04:00
parent 49ec3d6c62
commit cf796c984d
2 changed files with 12 additions and 2 deletions
+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`!**