From: Bruno Haible Date: Sun, 13 Mar 2011 23:04:20 +0000 (+0100) Subject: passfd: Fix link error on Solaris. X-Git-Tag: v0.1~3093 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=50f69b558c0ec48353f4cc8b48212a1788f650fa;hp=6234d83ceaa130a50e84a4f8f974b41dc7ae2cce;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 6651067b7..1ca4ffd45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-03-13 Bruno Haible + 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 + passfd: Fix link error on AIX 5.2. * m4/afunix.m4 (gl_SOCKET_AFUNIX): Define _LINUX_SOURCE_COMPAT. diff --git a/modules/passfd b/modules/passfd index bdcd9c5c6..74ef4102c 100644 --- 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 @@ m4/sockpfaf.m4 Depends-on: cloexec sys_socket +socketlib extensions configure.ac: @@ -21,6 +22,9 @@ lib_SOURCES += passfd.c Include: "passfd.h" +Link: +$(LIBSOCKET) + License: LGPLv2+ diff --git a/modules/passfd-tests b/modules/passfd-tests index f1badfecb..132679c17 100644 --- a/modules/passfd-tests +++ b/modules/passfd-tests @@ -9,3 +9,4 @@ configure.ac: Makefile.am: TESTS += test-passfd check_PROGRAMS += test-passfd +test_passfd_LDADD = $(LDADD) @LIBSOCKET@