mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-23 18:25:19 +00:00
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:
parent
79f5f586ac
commit
50dfa3861b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7128
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue