bombela / backward-cpp

A beautiful stack trace pretty printer for C++
MIT License
3.81k stars 479 forks source link

Link with "msvcr[n]" available on the system for MINGW compilation #307

Open OanaStanoi opened 1 year ago

OanaStanoi commented 1 year ago

Replace the hardcoded dependency on "msvcr90" with the available library on the system (msvcr140, msvcr120, msvcr110, msvcr100, msvcr90) when compiling with MINGW

cowo78 commented 10 months ago

Applied @madebr suggestions. Currently with MINGW gcc 12.2/msys2 there are no unresolved symbols (in shared mode). Tested also in cross-compilation environment.