Commit 381b814
Pass -lstdc++ via extldflags instead of CGO_LDFLAGS
CGO_LDFLAGS wasn't being applied at link time. Use Go's -extldflags
to pass -lstdc++ -lm to the external linker directly.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 51fa5b4 commit 381b814
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
0 commit comments