Skip to content

Commit

Permalink
Fix wrong macos target in release CI (vlang#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
lv37 committed Nov 13, 2024
1 parent 2082fc5 commit 8bcfb7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ fn (m ReleaseMode) compile_cmd() string {
'-cflags "-target arm64-apple-darwin"'
} $else $if cross_compile_macos_x86_64 ? {
'-cflags "-target x86_64-apple-darwin"'
} $else $if linux {
if m == .release { '-cflags -static' } else { '' }
} $else {
''
}
Expand Down

0 comments on commit 8bcfb7e

Please sign in to comment.