golang-github-prometheus-promu/extldflags-no-static.patch

14 lines
497 B
Diff
Raw Permalink Normal View History

Index: promu-0.15.0/cmd/promu.go
===================================================================
--- promu-0.15.0.orig/cmd/promu.go
+++ promu-0.15.0/cmd/promu.go
@@ -73,7 +73,7 @@ func NewConfig() *Config {
config := &Config{}
config.Build.Binaries = []Binary{{Name: projInfo.Name, Path: "."}}
config.Build.Prefix = "."
- config.Build.Static = true
+ config.Build.Static = false
config.Crossbuild.Platforms = defaultPlatforms
config.Tarball.Prefix = "."
config.Go.Version = "1.12"