From 7ceecc66458ab489687d6a19edf9d0d3fd3446e9 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Mon, 31 Aug 1998 00:42:21 +0000 Subject: [PATCH] The elf build wants to link against libcrypt. --- usr.bin/key/Makefile | 4 ++-- usr.bin/keyinit/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/key/Makefile b/usr.bin/key/Makefile index c150e63f8e02..d6f3c3e140b7 100644 --- a/usr.bin/key/Makefile +++ b/usr.bin/key/Makefile @@ -7,7 +7,7 @@ MAN1= key.1 CFLAGS+= -D_SKEY_INTERNAL -DPADD= ${LIBSKEY} ${LIBMD} -LDADD= -lskey -lmd +DPADD= ${LIBSKEY} ${LIBCRYPT} ${LIBMD} +LDADD= -lskey -lcrypt -lmd .include diff --git a/usr.bin/keyinit/Makefile b/usr.bin/keyinit/Makefile index 2796a3d252f1..0292d37f836e 100644 --- a/usr.bin/keyinit/Makefile +++ b/usr.bin/keyinit/Makefile @@ -9,7 +9,7 @@ CFLAGS+= -D_SKEY_INTERNAL BINOWN= root BINMODE=4555 -DPADD= ${LIBSKEY} ${LIBMD} -LDADD= -lskey -lmd +DPADD= ${LIBSKEY} ${LIBCRYPT} ${LIBMD} +LDADD= -lskey -lcrypt -lmd .include