1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

Use external, static linking.

Possible fix for #225
This commit is contained in:
Jorin Vogel 2017-05-10 10:10:10 +02:00
parent cb179e040b
commit d9c892bc77
No known key found for this signature in database
GPG Key ID: 647AFD30D56CE8CC

View File

@ -1,5 +1,6 @@
homepage: &homepage http://goreleaser.github.io
description: &description Deliver Go binaries as fast and easily as possible
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -linkmode external -extldflags "-static"
build:
goos:
- linux