summaryrefslogtreecommitdiffstats
path: root/libexec/rexecd
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-18 06:50:00 +0000
committernate <nate@FreeBSD.org>1995-03-18 06:50:00 +0000
commitbbc020cc5c817b99a07a1c990d0f3413a9ea2d0e (patch)
treeeef6cb1b3af597151029961ee47276bc3927e9da /libexec/rexecd
parent90728fa67c0a36818c243fb3671b9619e8f7c1d1 (diff)
downloadFreeBSD-src-bbc020cc5c817b99a07a1c990d0f3413a9ea2d0e.zip
FreeBSD-src-bbc020cc5c817b99a07a1c990d0f3413a9ea2d0e.tar.gz
Don't rely on the shared library bringing in libmd, do it explicitly.
Change the library order so libcrypt is the last library in the list. libskey contains references to _crypt and can't resolve it unless -lcrypt occurs after it in the link command. This only occurs when linking statically.
Diffstat (limited to 'libexec/rexecd')
-rw-r--r--libexec/rexecd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rexecd/Makefile b/libexec/rexecd/Makefile
index c9814f4..006a10e 100644
--- a/libexec/rexecd/Makefile
+++ b/libexec/rexecd/Makefile
@@ -4,7 +4,7 @@ PROG= rexecd
MAN8= rexecd.8
CFLAGS+= -DSKEY
-DPADD= ${LIBCRYPT} ${LIBSKEY}
-LDADD= -lcrypt -lskey
+DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
+LDADD= -lskey -lmd -lcrypt
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud