2019-12-11 Bruno Haible <br...@clisp.org> unistd tests: Fix link error on MSVC. * modules/unistd-c++-tests (Makefile.am): Link test-unistd-c++ against $(LIB_GETLOGIN).
diff --git a/modules/unistd-c++-tests b/modules/unistd-c++-tests index c1a9639..739382b 100644 --- a/modules/unistd-c++-tests +++ b/modules/unistd-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-unistd-c++ check_PROGRAMS += test-unistd-c++ test_unistd_c___SOURCES = test-unistd-c++.cc -test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) +test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIBSOCKET) $(LIB_GETLOGIN) endif