diff options
author | Bruno Haible <bruno@clisp.org> | 2020-08-16 12:53:57 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-08-16 12:54:42 +0200 |
commit | e3d43f5a8dd5f5dcb716a30cdc98e53f48ffab8f (patch) | |
tree | fc9456f1f5154c2cb8f10ce026b3ed6af265b8dc | |
parent | 46f8e0a8b32e85f18bdac0dcdd22df7a62fcf30a (diff) | |
download | gnulib-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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | modules/stdio-c++-tests | 2 | ||||
-rw-r--r-- | modules/stdlib-c++-tests | 2 |
3 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,13 @@ 2020-08-16 Bruno Haible <bruno@clisp.org> + 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. + +2020-08-16 Bruno Haible <bruno@clisp.org> + Don't use Autoconf quadrigraphs. * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA): Use '#' instead of the corresponding Autoconf quadrigraph. 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 diff --git a/modules/stdlib-c++-tests b/modules/stdlib-c++-tests index 634a2b3c0b..1089c46ee3 100644 --- a/modules/stdlib-c++-tests +++ b/modules/stdlib-c++-tests @@ -16,5 +16,5 @@ 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) +test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_GETRANDOM) endif |