Skip to content

CMakeParseImplicitLinkInfo: Honor GNU static runtime library flags

Brad King requested to merge brad.king/cmake:implicit-link-static into master

With flags like -static-libstdc++ or -static-libgfortran, the GNU compiler driver adds -Bstatic ... -Bdynamic around its language runtime library. Convert the libraries in between these to absolute paths so that mixed-language linking honors the static runtime libraries.

Edited by Brad King

Merge request reports