gogio: add ldflags support for the macos build Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
1 files changed, 1 insertions(+), 0 deletions(-) M gogio/macosbuild.go
M gogio/macosbuild.go => gogio/macosbuild.go +1 -0
@@ 173,6 173,7 @@ func (b *macBuilder) buildProgram(buildInfo *buildInfo, name string, arch string cmd := exec.Command( "go", "build", + "-ldflags="+buildInfo.ldflags, "-tags="+buildInfo.tags, "-o", filepath.Join(dest, "/Contents/MacOS/"+name), buildInfo.pkgPath,