diff options
author | Hans Insulander <hin@cvs.openbsd.org> | 2001-06-22 16:14:58 +0000 |
---|---|---|
committer | Hans Insulander <hin@cvs.openbsd.org> | 2001-06-22 16:14:58 +0000 |
commit | 715fdf77646ed73094d4862baa7914d06d979ac7 (patch) | |
tree | 57f8a3e19a38e103d47b94e6fa93529390bebf7c | |
parent | 2d14c1d3feeb5354b07eb111fa31908c9bbf3591 (diff) |
Fix krb5 linking.
My machine can now build statically with krb5 enabled.
-rw-r--r-- | libexec/telnetd/Makefile | 4 | ||||
-rw-r--r-- | usr.bin/telnet/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile index bea4d2776fa..1ed7e9e1344 100644 --- a/libexec/telnetd/Makefile +++ b/libexec/telnetd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2001/05/25 10:25:22 hin Exp $ +# $OpenBSD: Makefile,v 1.11 2001/06/22 16:14:55 hin Exp $ # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 # $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $ @@ -21,7 +21,7 @@ DPADD+= ${LIBDES} ${LIBKRB} .endif .if (${KERBEROS5:L} == "yes") -LDADD+= -lkrb5 +LDADD+= -lkrb5 -lasn1 -lcrypto .endif .include <bsd.prog.mk> diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile index 4012819879d..ef962a1cfb0 100644 --- a/usr.bin/telnet/Makefile +++ b/usr.bin/telnet/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2001/05/25 10:24:25 hin Exp $ +# $OpenBSD: Makefile,v 1.12 2001/06/22 16:14:57 hin Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -54,7 +54,7 @@ DPADD+= ${LIBDES} ${LIBKRB} .if (${KERBEROS5:L} == "yes") CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB5 -LDADD+= -lkrb5 +LDADD+= -lkrb5 -lasn1 -lcrypto DPADD+= ${LIBKRB5} .endif |