summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--modules/accept-tests1
-rw-r--r--modules/accept4-tests1
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bbd70caaa0..a6bdfdee86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-09-18 Bruno Haible <bruno@clisp.org>
+ accept, accept4 tests: Avoid link error on Solaris.
+ * modules/accept-tests (Makefile.am): Link test-accept against
+ $(LIBSOCKET).
+ * modules/accept4-tests (Makefile.am): Link test-accept4 against
+ $(LIBSOCKET).
+
accept4: Avoid link error on Solaris.
* modules/accept4 (Link): New section.
diff --git a/modules/accept-tests b/modules/accept-tests
index fa18e37af4..ea83a64a28 100644
--- a/modules/accept-tests
+++ b/modules/accept-tests
@@ -11,3 +11,4 @@ configure.ac:
Makefile.am:
TESTS += test-accept
check_PROGRAMS += test-accept
+test_accept_LDADD = $(LDADD) @LIBSOCKET@
diff --git a/modules/accept4-tests b/modules/accept4-tests
index 2d6c1e95c6..9c5b1272c8 100644
--- a/modules/accept4-tests
+++ b/modules/accept4-tests
@@ -13,3 +13,4 @@ configure.ac:
Makefile.am:
TESTS += test-accept4
check_PROGRAMS += test-accept4
+test_accept4_LDADD = $(LDADD) @LIBSOCKET@