Commit 765e605
committed
Fix MinGW build failure: conditionally link libssp
Newer MinGW versions (e.g., GCC 15.2.0) don't provide libssp library,
causing linker errors when building examples. This change makes the
linking conditional by checking if the library exists before attempting
to link it.
Fixes GitHub Actions 'Windows Latest MinGW' build failure:
- cannot find -lssp: No such file or directory1 parent 9dbf6a8 commit 765e605
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| |||
0 commit comments