diff --git a/test/build.info b/test/build.info index 52d4ee7d3bae0c3d86a8b36029f83e547b54be80..22a7d199a5b6c2dea7ccb82915103d992c29eece 100644 --- a/test/build.info +++ b/test/build.info @@ -579,11 +579,19 @@ ENDIF next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re; $OUT .= <<"_____"; - PROGRAMS_NO_INST=buildtest_$name + PROGRAMS_NO_INST=buildtest_c_$name + SOURCE[buildtest_c_$name]=buildtest_$name.c GENERATE[buildtest_$name.c]=generate_buildtest.pl $name - SOURCE[buildtest_$name]=buildtest_$name.c - INCLUDE[buildtest_$name]=../include - DEPEND[buildtest_$name]=../libssl ../libcrypto + INCLUDE[buildtest_c_$name]=../include + DEPEND[buildtest_c_$name]=../libssl ../libcrypto +_____ + $OUT .= <<"_____" if $config{CXX}; + + PROGRAMS_NO_INST=buildtest_cc_$name + SOURCE[buildtest_cc_$name]=buildtest_$name.cc + GENERATE[buildtest_$name.cc]=generate_buildtest.pl $name + INCLUDE[buildtest_cc_$name]=../include + DEPEND[buildtest_cc_$name]=../libssl ../libcrypto _____ } -}