summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-18 17:18:15 +0000
committernate <nate@FreeBSD.org>1995-03-18 17:18:15 +0000
commitd5bfc1260562c0c63c6402d088b4973000c17286 (patch)
treeddbce618c50b59325a9eeafd6f4f9d2684561d53 /usr.bin
parent0821aad944bcb33e6bab23977e4a012e8b8a41a9 (diff)
downloadFreeBSD-src-d5bfc1260562c0c63c6402d088b4973000c17286.zip
FreeBSD-src-d5bfc1260562c0c63c6402d088b4973000c17286.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 'usr.bin')
-rw-r--r--usr.bin/login/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index ee453c1..dec284e 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 7/19/93
-# $Id: Makefile,v 1.10 1994/11/20 23:20:33 wollman Exp $
+# $Id: Makefile,v 1.11 1995/01/14 22:57:38 wollman Exp $
PROG= login
MAN1= login.1
@@ -12,8 +12,8 @@ CFLAGS+=-DLOGIN_ACCESS -DSKEY -DLOGALL
CFLAGS+=-DKLOGIN_PARANOID
.endif
-DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBSKEY} ${LIBMD}
-LDADD= -lutil -lcrypt -lskey -lmd
+DPADD= ${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
+LDADD= -lutil -lskey -lmd -lcrypt
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
CFLAGS+=-DKERBEROS
OpenPOWER on IntegriCloud