mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-01 07:35:37 +00:00
gogio: add ldflags support for the macos build
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
This commit is contained in:
committed by
Elias Naur
parent
0a86898b41
commit
940364d3e9
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user