1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

BUILD: CGO linking problems break Debian and Centos 7 (#2141)

This commit is contained in:
Tom Limoncelli
2023-03-13 09:54:02 -04:00
committed by GitHub
parent 26cf0fd15b
commit f19225f8d4

View File

@ -10,7 +10,7 @@ builds:
- darwin
- freebsd
ldflags:
- -s -w -X main.Version="{{ .Version }}" -X main.SHA="{{ .FullCommit }}" -X main.BuildTime={{ .Timestamp }}
- -linkmode=internal -s -w -X main.Version="{{ .Version }}" -X main.SHA="{{ .FullCommit }}" -X main.BuildTime={{ .Timestamp }}
before:
hooks:
- go mod tidy