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 17:36:30 +00:00
parent c36c788214
commit e6fc505e8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7141

View file

@ -5,8 +5,8 @@ SRCS= su.c
CFLAGS+=-DSKEY
LDADD= -lcrypt -lskey -lmd
DPADD= ${LIBCRYPT} ${LIBSKEY} ${LIBMD}
LDADD= -lskey -lmd -lcrypt
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|| defined(MAKE_EBONES))