diff options
author | nate <nate@FreeBSD.org> | 1995-03-18 06:41:08 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1995-03-18 06:41:08 +0000 |
commit | 90728fa67c0a36818c243fb3671b9619e8f7c1d1 (patch) | |
tree | 498aa162b0d4c6d04c9afb9b1a0e0479a0b94656 | |
parent | 84d7516af3d46707b026737729a258ed11a8a29f (diff) | |
download | FreeBSD-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.
-rw-r--r-- | libexec/ftpd/Makefile | 4 |
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 |