From: Bruno Haible <bruno@clisp.org>
Date: Mon, 19 Sep 2011 01:10:16 +0000 (+0200)
Subject: accept, accept4 tests: Avoid link error on Solaris.
X-Git-Tag: v0.1~1871
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5eb1a2ef66a21c9ce722e8117c72fd39db924973;p=gnulib.git

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).
---

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@