summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-08 19:41:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-08 19:41:54 +0000
commit58bba701c5698b5c5ec82daac41de3b0600c6244 (patch)
treef540a36e83139751646ba548173b80b9db9d58ab /usr.bin/passwd
parent42cbe0cf6ad2efd78729fb7f9f0a6c7090c193e3 (diff)
correct linkage
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/Makefile10
1 files changed, 5 insertions, 5 deletions
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 <bsd.own.mk>
@@ -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