From: Bruno Haible Date: Wed, 11 Dec 2019 11:51:40 +0000 (+0100) Subject: unistd tests: Fix link error on MSVC. X-Git-Tag: v1.0~4527 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=76a168b272d371cfba73e89c7d0feeca3bee4c6d;p=gnulib.git unistd tests: Fix link error on MSVC. * modules/unistd-c++-tests (Makefile.am): Link test-unistd-c++ against $(LIB_GETLOGIN). --- diff --git a/ChangeLog b/ChangeLog index 86e3c82804..a5577f7c3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-12-11 Bruno Haible + + 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 doc: Document that ISO C or POSIX substitutes are supported in C++ mode. diff --git a/modules/unistd-c++-tests b/modules/unistd-c++-tests index c1a9639c2e..739382b562 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