Hash :
e3d43f5a
Author :
Date :
2020-08-16T12:53:57
C++ tests: Fix link errors on MSVC (regression from 2020-05-31). * modules/stdio-c++-tests (Makefile.am): Link test-stdio-c++ with $(LIB_GETRANDOM), needed for the rpl_tmpfile symbol. * modules/stdlib-c++-tests (Makefile.am): Link test-stdlib-c++ with $(LIB_GETRANDOM), needed for the mkdtemp and mkstemp symbols.
Files:
tests/test-stdlib-c++.cc
tests/test-stdlib-c++2.cc
tests/signature.h
Status:
c++-test
Depends-on:
ansi-c++-opt
configure.ac:
Makefile.am:
if ANSICXX
TESTS += test-stdlib-c++
check_PROGRAMS += test-stdlib-c++
test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_GETRANDOM)
endif