mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue