From 715fdf77646ed73094d4862baa7914d06d979ac7 Mon Sep 17 00:00:00 2001 From: Hans Insulander Date: Fri, 22 Jun 2001 16:14:58 +0000 Subject: Fix krb5 linking. My machine can now build statically with krb5 enabled. --- libexec/telnetd/Makefile | 4 ++-- 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 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 -- cgit v1.2.3