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.
This commit is contained in:
Nate Williams 1995-03-18 06:50:00 +00:00
parent 79f5f586ac
commit 50dfa3861b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7128

View File

@ -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>