accept, accept4 tests: Avoid link error on Solaris.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Sep 2011 01:10:16 +0000 (03:10 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 19 Sep 2011 01:10:16 +0000 (03:10 +0200)
* modules/accept-tests (Makefile.am): Link test-accept against
$(LIBSOCKET).
* modules/accept4-tests (Makefile.am): Link test-accept4 against
$(LIBSOCKET).

ChangeLog
modules/accept-tests
modules/accept4-tests

index bbd70ca..a6bdfde 100644 (file)
--- 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.
 
index fa18e37..ea83a64 100644 (file)
@@ -11,3 +11,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-accept
 check_PROGRAMS += test-accept
+test_accept_LDADD = $(LDADD) @LIBSOCKET@
index 2d6c1e9..9c5b127 100644 (file)
@@ -13,3 +13,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-accept4
 check_PROGRAMS += test-accept4
+test_accept4_LDADD = $(LDADD) @LIBSOCKET@