summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-18 06:41:08 +0000
committernate <nate@FreeBSD.org>1995-03-18 06:41:08 +0000
commit90728fa67c0a36818c243fb3671b9619e8f7c1d1 (patch)
tree498aa162b0d4c6d04c9afb9b1a0e0479a0b94656 /libexec/ftpd
parent84d7516af3d46707b026737729a258ed11a8a29f (diff)
downloadFreeBSD-src-90728fa67c0a36818c243fb3671b9619e8f7c1d1.zip
FreeBSD-src-90728fa67c0a36818c243fb3671b9619e8f7c1d1.tar.gz
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.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index f2b446c..ba6cb99 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -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
OpenPOWER on IntegriCloud