Commit e2ca949
Hendrik Mennen
Fix C++ linking: use builder extra-libs instead of configure string replacement
The previous approach tried to patch the configure script string which
was fragile and didn't work on all platforms. Now uses the proper
builder option mechanism (same pattern as iconv extension).
Uses -lc++ on macOS (Clang) and -lstdc++ on Linux (GCC/musl).1 parent 481319f commit e2ca949
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
| |||
0 commit comments