From: Russ Allbery Date: Tue, 13 Jul 2010 21:16:49 +0000 (-0700) Subject: Link libafsauthent with -lresolv -lcrypt X-Git-Tag: debian/1.5.75-1~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6228b09ba76e5802b3a598b29f25f5521d876288;p=packages%2Fo%2Fopenafs.git Link libafsauthent with -lresolv -lcrypt * Explicitly link libafsauthent with -lresolv -lcrypt. This is a temporary fix for Linux that will be replaced by a better upstream fix in the next release. --- diff --git a/debian/changelog b/debian/changelog index bd4fc2a9c..3edd2a212 100644 --- a/debian/changelog +++ b/debian/changelog @@ -43,6 +43,9 @@ openafs (1.5.75-1) UNRELEASED; urgency=low - [5cc6293c] Provide man pages for more fssync-debug commands * Build shared library packages for libafsauthent and libafsrpc. Upstream is now more careful about the ABI. (Closes: #433054) + * Explicitly link libafsauthent with -lresolv -lcrypt. This is a + temporary fix for Linux that will be replaced by a better upstream fix + in the next release. * openafs-modules-source and openafs-modules-dkms are now architecture: all. The generated kernel source is now architecture-independent. * openafs-modules-source and openafs-modules-dkms now recommend an diff --git a/src/shlibafsauthent/Makefile.in b/src/shlibafsauthent/Makefile.in index 48a9a3e57..4efe703be 100644 --- a/src/shlibafsauthent/Makefile.in +++ b/src/shlibafsauthent/Makefile.in @@ -133,7 +133,7 @@ dest: ${LIBAFSAUTHENT} libafsauthent_pic.a ${LIBAFSAUTHENT}: ${LIBOBJS} libafsauthent.map ../config/shlib-build -d $(srcdir) -l libafsauthent \ -M ${LIBAFSAUTHENTMAJOR} -m ${LIBAFSAUTHENTMINOR} -- \ - -L${TOP_LIBDIR} -lafsrpc ${LIBOBJS} ${MT_LIBS} + -L${TOP_LIBDIR} -lafsrpc -lresolv -lcrypt ${LIBOBJS} ${MT_LIBS} libafsauthent_pic.a: ${LIBOBJS} $(RM) -f $@