summaryrefslogtreecommitdiff
path: root/modules/stdio-c++-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-08-16 12:53:57 +0200
committerBruno Haible <bruno@clisp.org>2020-08-16 12:54:42 +0200
commite3d43f5a8dd5f5dcb716a30cdc98e53f48ffab8f (patch)
treefc9456f1f5154c2cb8f10ce026b3ed6af265b8dc /modules/stdio-c++-tests
parent46f8e0a8b32e85f18bdac0dcdd22df7a62fcf30a (diff)
downloadgnulib-e3d43f5a8dd5f5dcb716a30cdc98e53f48ffab8f.tar.gz
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.
Diffstat (limited to 'modules/stdio-c++-tests')
-rw-r--r--modules/stdio-c++-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/stdio-c++-tests b/modules/stdio-c++-tests
index 05e754455a..df8ba4e365 100644
--- a/modules/stdio-c++-tests
+++ b/modules/stdio-c++-tests
@@ -16,5 +16,5 @@ if ANSICXX
TESTS += test-stdio-c++
check_PROGRAMS += test-stdio-c++
test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc
-test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
+test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) $(LIB_GETRANDOM)
endif