Does the native C plugin require a C++ compiler?

Is there a requirement to have “g++” installed to use the C plugin? I only have “gcc” installed, and Gradle 2.14.1 fails the linkTestSharedLibrary tasks with the error “Could not find linker ‘g++’ in system path.”.