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
9e4817309b
commit
79f5f586ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7127
@ -6,8 +6,8 @@ SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
|
||||
|
||||
CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS
|
||||
|
||||
LDADD= -lcrypt -lskey -lmd
|
||||
DPADD= ${LIBCRYPT} ${LIBSKEY} ${LIBMD}
|
||||
LDADD= -lskey -lmd -lcrypt
|
||||
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
|
||||
|
||||
CLEANFILES+=ftpcmd.c y.tab.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user