From bbc020cc5c817b99a07a1c990d0f3413a9ea2d0e Mon Sep 17 00:00:00 2001 From: nate Date: Sat, 18 Mar 1995 06:50:00 +0000 Subject: 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. --- libexec/rexecd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/rexecd') 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 -- cgit v1.1