From 58bba701c5698b5c5ec82daac41de3b0600c6244 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 May 2002 19:41:54 +0000 Subject: correct linkage --- usr.bin/passwd/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/passwd') diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 01f0ba21e58..83af505603a 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.25 2002/05/06 22:23:53 deraadt Exp $ +# $OpenBSD: Makefile,v 1.26 2002/05/08 19:41:53 deraadt Exp $ .include @@ -19,16 +19,16 @@ CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp .if (${KERBEROS5:L} == "yes") SRCS+= krb5_passwd.c CFLAGS+= -DKRB5 -DPADD+= ${LIBKRB5} ${LIBCRYPTO} -LDADD+= -lkrb5 -lcrypto -lasn1 +DPADD+= ${LIBKRB5} ${LIBASN1} +LDADD+= -lkrb5 -lasn1 .endif .if (${KERBEROS:L} == "yes") .PATH: ${.CURDIR}/../rsh SRCS+= new_pwd.c krb_passwd.c des_rw.c CFLAGS+= -DKERBEROS -DPADD+= ${LIBKRB} ${LIBDES} -LDADD+= -lkadm -lkrb -ldes -lcom_err -lkafs +DPADD+= ${LIBKADM} ${LIBKRB} ${LIBDES} ${LIBCOMERR} ${LIBKAFS} ${LIBCRYPTO} +LDADD+= -lkadm -lkrb -ldes -lcom_err -lkafs -lcrypto .endif BINMODE=4555 -- cgit v1.2.3