]> Savannah Git Hosting - gnulib.git/commitdiff
unistd tests: Fix link error on MSVC.
authorBruno Haible <bruno@clisp.org>
Wed, 11 Dec 2019 11:51:40 +0000 (12:51 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 11 Dec 2019 11:51:40 +0000 (12:51 +0100)
* modules/unistd-c++-tests (Makefile.am): Link test-unistd-c++ against
$(LIB_GETLOGIN).

ChangeLog
modules/unistd-c++-tests

index 86e3c82804cd36d77a3cdff35602d04bf5985e97..a5577f7c3dbe2f821ffc0efa7a4dcb1abea1d41d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-12-11  Bruno Haible  <bruno@clisp.org>
+
+       unistd tests: Fix link error on MSVC.
+       * modules/unistd-c++-tests (Makefile.am): Link test-unistd-c++ against
+       $(LIB_GETLOGIN).
+
 2019-12-11  Bruno Haible  <bruno@clisp.org>
 
        doc: Document that ISO C or POSIX substitutes are supported in C++ mode.
index c1a9639c2ee81c0ae86b91264074e2ec73e4119e..739382b56279db9378e95a4fbf2ab7a3c4f3b02c 100644 (file)
@@ -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