~eliasnaur/gio-cmd

940364d3e94ab0fd51b8c6efd0887d6c50cc6a2f — Tobias Gesellchen 5 months ago 0a86898
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,