changeset 14430:23262a7852a6

passfd: Fix link error on Solaris. * modules/passfd (Description): Correct. (Depends-on): Add socketlib. (Link): New section. * modules/passfd-tests (Makefile.am): Link test-passfd with LIBSOCKET.
author Bruno Haible <bruno@clisp.org>
date Mon, 14 Mar 2011 00:04:20 +0100
parents 1d9adb689c1d
children 012d0dca95b2
files ChangeLog modules/passfd modules/passfd-tests
diffstat 3 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-03-13  Bruno Haible  <bruno@clisp.org>
+
+	passfd: Fix link error on Solaris.
+	* modules/passfd (Description): Correct.
+	(Depends-on): Add socketlib.
+	(Link): New section.
+	* modules/passfd-tests (Makefile.am): Link test-passfd with LIBSOCKET.
+
 2011-03-13  Bruno Haible  <bruno@clisp.org>
 
 	passfd: Fix link error on AIX 5.2.
--- a/modules/passfd
+++ b/modules/passfd
@@ -1,5 +1,5 @@
 Description:
-Passfile descriptors along Unix (socket/stream) file descriptors
+Pass file descriptors along Unix domain sockets
 
 Files:
 lib/passfd.h
@@ -10,6 +10,7 @@
 Depends-on:
 cloexec
 sys_socket
+socketlib
 extensions
 
 configure.ac:
@@ -21,6 +22,9 @@
 Include:
 "passfd.h"
 
+Link:
+$(LIBSOCKET)
+
 License:
 LGPLv2+
 
--- a/modules/passfd-tests
+++ b/modules/passfd-tests
@@ -9,3 +9,4 @@
 Makefile.am:
 TESTS += test-passfd
 check_PROGRAMS += test-passfd
+test_passfd_LDADD = $(LDADD) @LIBSOCKET@