From 09623ecdfe4710cc9e89e6c7463f3bcc4027bfd8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 7 Apr 2010 00:26:31 +0200 Subject: [PATCH] Fix link error on mingw. --- ChangeLog | 6 ++++++ modules/fcntl-h-c++-tests | 2 +- modules/unistd-c++-tests | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c8b1d83b76..f382fb6473 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-06 Bruno Haible + + Fix link error on mingw. + * modules/unistd-c++-tests (test_unistd_c___LDADD): Add LIBSOCKET. + * modules/fcntl-h-c++-tests (test_fcntl_h_c___LDADD): Likewise. + 2010-04-06 Bruno Haible Assume rmdir exists. diff --git a/modules/fcntl-h-c++-tests b/modules/fcntl-h-c++-tests index c71d15a0bb..5e7ecd6602 100644 --- a/modules/fcntl-h-c++-tests +++ b/modules/fcntl-h-c++-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-fcntl-h-c++ check_PROGRAMS += test-fcntl-h-c++ test_fcntl_h_c___SOURCES = test-fcntl-h-c++.cc -test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) +test_fcntl_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIBSOCKET) endif diff --git a/modules/unistd-c++-tests b/modules/unistd-c++-tests index 7c97ce0df2..a49baa58f3 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) +test_unistd_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIBSOCKET) endif -- 2.30.2