Skip to content

Commit

Permalink
try static libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
hrl20 committed Apr 28, 2024
1 parent d407d85 commit 91f85a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ func buildBackend(cfg build.Config) error {
ldFlags = `-extldflags "-static"`
}

ldFlags = `extldflags "-static-libstdc++"`

if !cfg.EnableDebug {
// Add linker flags to drop debug information
prefix := ""
Expand Down

0 comments on commit 91f85a6

Please sign in to comment.