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
@ -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…
x
Reference in New Issue
Block a user