added build script to build fully statically linked binary using musl
This commit is contained in:
parent
2635e474f6
commit
1ca311895c
2
build/build-musl.sh
Executable file
2
build/build-musl.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
CC=/usr/bin/musl-gcc go build --ldflags '-linkmode external -extldflags "-static"' ./cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
Loading…
Reference in New Issue
Block a user