Skip to content

Commit

Permalink
Fix the release build flag for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Dec 24, 2020
1 parent a029ede commit 42ec037
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/fyne/internal/mobile/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ func goCmdAt(at string, subcmd string, srcs []string, env []string, args ...stri
if targetOS == "darwin" {
tags = append(tags, "ios")
}
if buildRelease {
tags = append(tags, "release")
}
if len(tags) > 0 {
cmd.Args = append(cmd.Args, "-tags", strings.Join(tags, " "))
}
Expand Down

0 comments on commit 42ec037

Please sign in to comment.