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:
parent
c36c788214
commit
e6fc505e8f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7141
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user