mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
Use netgo (instead of C bindings). Fix #700
This commit is contained in:
parent
dab83c4f6a
commit
2073871fa1
3 changed files with 9 additions and 9 deletions
|
@ -15,7 +15,7 @@ builds:
|
|||
goarch:
|
||||
- amd64
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static -lz'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -28,7 +28,7 @@ builds:
|
|||
goarch:
|
||||
- 386
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -47,7 +47,7 @@ builds:
|
|||
- 6
|
||||
- 7
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -62,7 +62,7 @@ builds:
|
|||
goarch:
|
||||
- arm64
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -78,7 +78,7 @@ builds:
|
|||
goarch:
|
||||
- 386
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -94,7 +94,7 @@ builds:
|
|||
goarch:
|
||||
- amd64
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- "-extldflags '-static'"
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
@ -110,7 +110,7 @@ builds:
|
|||
goarch:
|
||||
- amd64
|
||||
flags:
|
||||
- -tags=embed
|
||||
- -tags=embed,netgo
|
||||
ldflags:
|
||||
- -s -w -X github.com/deluan/navidrome/consts.gitSha={{.ShortCommit}} -X github.com/deluan/navidrome/consts.gitTag={{.Version}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue