Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure linking works even when CC is set to C++ compiler
This can happen when using a module such as `ExtUtils::CppGuess` which sets `CC` and `CCFLAGS` to C++ compiler specific values. When combined with `Module::Build` which calls `ExtUtils::CBuilder::Base::have_compiler` with those values, the branch that checks for a C compiler is run with those C++ compiler specific values which causes a linker error.
- Loading branch information